Problem with linking a.out-i386 files on a solaris host

Carl Petersen cpetersen@vocaldata.com
Mon Mar 3 22:59:00 GMT 2003


I have built the most recent binutils with support for all possible targets.

When I execute:

ld -b a.out-i386 file1.o file2.o file3.o file4.o --oformat a.out-i386 -o outfile

I get warnings like 

'ld: warning: i386 architecture of input file `file1.o' is incompatible with sparc output'


But I am not trying to generate a sparc output file. I am in fact trying to generate a 
a.out-i386  output file.

Thanks
Carl Petersen



More information about the Binutils mailing list