How are the specs generated?

Ronald Landheer-Cieslak ronald@landheer.com
Thu Jun 12 14:23:00 GMT 2003


I'm trying to build a cross-compiler for i386-unknown-freebsd4.7 using 
Newlib as crt, and am trying to figure out how to change the specs used by 
xgcc to not want a non-existant crt1.o.

My problem is that when bootstrapping libffi, ld can't find crt1.o (and 
won't be able to find some other crt?.o files it hasn't complained about 
yet) because it doesn't exist. AFAIK I won't actually need this file (and 
probably won't need the others either) because all I need from them is 
alwready in crt0.o or in libc.a, so I want to remove them from the specs 
and see how far I get.

I got as far as finding a gccspec.c file in src/gcc, but I can't quite 
figure out how this gets to creating the specs file.

Anybody..?

Thanx!

rlc




More information about the Gcc mailing list