This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

i386-coff linker problems


ok i finally got gcc-2.95.3 compiling and installing all the files, 
even c++ is built now ;-))

# ls -l /bar/i386-coff/lib
ldscripts  libc.a  libg.a  libiberty.a  libm.a  libnosys.a  libstdc++.a.2.10.0

# ls -l /bar/i386-coff/bin
cpp                  i386-coff-as       i386-coff-gasp  i386-coff-objcopy   
i386-coff-readelf  i386-coff-unprotoize
gcov                 i386-coff-c++      i386-coff-gcc   i386-coff-objdump   
i386-coff-size
i386-coff-addr2line  i386-coff-c++filt  i386-coff-ld    i386-coff-protoize  
i386-coff-strings
i386-coff-ar         i386-coff-g++      i386-coff-nm    i386-coff-ranlib    
i386-coff-strip

YIPPEE!!!

I installed newlib-1.9.0 with make all install and all went fine...

but i still cannot get an executable file:

# ./i386-coff-gcc bla.c
/bar/i386-coff/bin/ld: cannot open crt0.o: File not found
collect2: ld returned 1 exit status

the object file is compiled but the linker needs the crt0.o
a find /path_to_newlib/ -name crt0*
gives many instances of crt0.c and crt0.S files.

but how can i compile 'em and which archive they belong to?

thx,
flo

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]