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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message