cvs commit: src/share/mk Makefile src/gnu/usr.bin/cc40 Makefile Makefile.langs Makefile.tgt src/gnu/usr.bin/cc40/c++ Makefile g++40.1 src/gnu/usr.bin/cc40/c++filt Makefile src/gnu/usr.bin/cc40/cc ...

walt wa1ter at
Sat Jun 11 07:56:09 PDT 2005

Simon 'corecode' Schubert wrote:
On 09.06.2005, at 20:16, walt wrote:

//usr/libexec/binutils215/elf/ld: cannot find -lgcc

ha! it's a native binary. try this:

env CCVER=gcc40 HOST_CCVER=gcc34 make depend
As I replied yesterday, this didn't solve the problem so I
cheated, of course :o)
ld was obviously looking in /usr/lib/gcc40 for libgcc and
failed (since the directory was still empty) so I copied
libgcc.a from the /usr/obj tree and it all worked fine
after that.
I noticed that the (empty) /usr/lib/gcc40 directory was
already in my file at the time I was
trying to build gcc40 for the first time.  Could that
be the reason for the -lgcc-not-found errors?
I just used gcc40 to rebuild itself and its libraries,
so I'm off to try world and kernel next.

More information about the Commits mailing list