This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Linking libgcc with xgcc fails in build of trunk


All,

I'm trying to build trunk with C only on NetBSD 5.1.  I've gotten to the point
where libgcc is built with xgcc and I get a failure when linking libgcc_s.so
with:

/usr/bin/ld: /usr/local/lib: No such file:

I replaced ld with echo to see the link line and /usr/local/lib is sent to the
linker as a file.  In $(BUILD)/gcc/spec is a section with the following:

*link_libgcc:
%D  /usr/local/lib

I tried removing this line, but the file is regenerated by the make system.
Since others have built and are building trunk, I assume that I have a
misconfiguration.  I am using the same configuration options that successfully
built gcc-4.6.2.  Any help is appreciated.

Aran


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]