DragonFly BSD
DragonFly commits List (threaded) for 2005-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/share/mk Makefile bsd.cpu.gcc40.mk bsd.cpu.mk src/gnu/usr.bin/cc40 Makefile Makefile.inc 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 ...

To: Simon 'corecode' Schubert <corecode@xxxxxxxxxxxx>
From: walt <wa1ter@xxxxxxxxxxxxx>
Date: Sat, 11 Jun 2005 07:56:09 -0700

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 ld-elf.so.hints 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.

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]