Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Nov 1999 19:55:50 -0500 (EST)
From:      Barrett Richardson <barrett@phoenix.aye.net>
To:        Charles Randall <crandall@matchlogic.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Compiling elf gcc 2.7.2.3 on FreeBSD 3.3-R?
Message-ID:  <Pine.BSF.4.01.9911041948320.16779-100000@phoenix.aye.net>
In-Reply-To: <64003B21ECCAD11185C500805F31EC0304621A6C@houston.matchlogic.com>

next in thread | previous in thread | raw e-mail | index | archive | help



On Thu, 4 Nov 1999, Charles Randall wrote:

> After an unsuccessful attempt at asking this on -questions...
> 
> I believe that I could work my way through the problem below if I could
> build a vanilla gcc 2.7.2.3 on FreeBSD 3.3-R.
> 
> Attempting to build a fresh 2.7.2.3,
> 
> 1. configure
> 2. remove references to gnumalloc in Makefile and cp/Makefile
> 3. make LANGUAGES=c
> 
> and I get
> 
> --- snip ---
> ./xgcc -B./  -DIN_GCC   -g -I./include  enquire.o -o enquire
> /usr/libexec/elf/ld: cannot open crt0.o: No such file or directory
> *** Error code 1
> 
> Stop.
> --- snip ---
> 
> I presume that this is an a.out vs elf issue -- gcc is trying to build an
> a.out version and 3.3-R is elf. However, I get the same problem if I try
> configure with "configure i386-elf-freebsd".
> 
> Suggestions?
> 
> Charles


The culprit is STARTFILE_SPEC in config/i386/freebsd.h. In 3.2 replacing
it with /usr/src/contrib/gcc/config/i386/freebsd.h took careof it (been
putting off getting stackguard up and going on 3.3).




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.01.9911041948320.16779-100000>