DragonFly users List (threaded) for 2005-09
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: Switching to GCC4.0
On Thu, Sep 08, 2005 at 02:48:05PM +0200, Simon 'corecode' Schubert wrote:
: Jonathon McKitrick wrote:
: >I'm following the directions from Joerg's post that made it's way to the
: >Digest in June. I'm building gcc4 and installing it.
: >
: >To make it the default CC, all I need to do is set CCVER in /etc/make.conf,
: >correct? And that will work throughout the system, kernel, world, and user
: >binaries, right?
:
: you will have to build gcc40 first. put WANT_GCC40=yes into make.conf
: and run a build+installworld.
I followed the directions with no problems up until trying to build gcc4 with
itself:
root@drone:...gnu/usr.bin/cc40# env CCVER=gcc40 make depend
===> cc_tools/gengenrtl
CCVER=gcc40 OBJFORMAT_PATH=/ PATH=/usr/bin:/bin:/usr/sbin:/sbin cc -O -pipe
-I/usr/obj/usr/src/gnu/usr.bin/cc40/cc_tools/gengenrtl/..//../cc_prep
-I/usr/src/gnu/usr.bin/cc40/cc_tools/gengenrtl/..//../cc_prep
-I/usr/src/gnu/usr.bin/cc40/cc_tools/gengenrtl/..//../../../../contrib/gcc-4.0/gcc
-I/usr/src/gnu/usr.bin/cc40/cc_tools/gengenrtl/..//../../../../contrib/gcc-4.0/gcc/config
-I/usr/src/gnu/usr.bin/cc40/cc_tools/gengenrtl/..//../../../../contrib/gcc-4.0/include
-I/usr/src/gnu/usr.bin/cc40/cc_tools/gengenrtl/..//../../../../contrib/gcc-4.0/libcpp/include
-DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -DPREFIX1=\"/usr\"
-DPREFIX2=\"/usr\" -DHAVE_STDLIB_H -DHAVE_STRING_H -DGENERATOR_FILE -I.
-static -o gengenrtl.nx gengenrtl.no errors.no ../libiberty/libiberty.na
//usr/libexec/binutils215/elf/ld: cannot find -lgcc
*** Error code 1
Stop in /usr/src/gnu/usr.bin/cc40/cc_tools/gengenrtl.
*** Error code 1
Stop in /usr/src/gnu/usr.bin/cc40/cc_tools.
*** Error code 1
Stop in /usr/src/gnu/usr.bin/cc40.
root@drone:...gnu/usr.bin/cc40#
I checked archives and didn't find anything like this, so I thought I'd ask.
Jonathon McKitrick
--
Hoppiness is a good beer.
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]