IA64 cross compiler problem

Co Ngai Fung erico@alumni.cuhk.net
Tue Jun 17 11:26:00 GMT 2003


Hi all,

I am trying to build a cross compiler for IA64 on an IA32 machine.
I follow the instructions on
	http://www.cse.unsw.edu.au/~cls/notes/gcc.html
everything is fine, but after install it, I encounter the following error

----------------------------------------------------------------------------------

# /usr/crossgcc/ia64/bin/ia64-elf-gcc a.c
<command line>:1:13: warning: "machine" re-asserted
/usr/crossgcc/ia64/bin/../lib/gcc-lib/ia64-elf/3.2.3/../../../../ia64-elf/bin/ld: cannot open crt0.o: No such file or directory
collect2: ld returned 1 exit status

----------------------------------------------------------------------------------

the a.c is just like this:

int main(void){
        return 0;
}

TIA!

-- 
--------------------------------
Co Ngai Fung
http://pig.myftp.org:8000
erico@alumni.cuhk.net
fafb0daa2487d3bc52356a535b10858c
--------------------------------




More information about the Gcc mailing list