On 03/17/10 14:12, John Vasquez wrote: > Newbie here. > > I compile some source code using cc -m64 > > However, I can't seem to link the objects. I'm getting the error,"Relocatable > linking with relocation from elf64-x86-64 to format elf32-i386 is not > supported". > > My ld command line is: > ld -r -o outfile obj1.o obj1.o > > What am I doing wrong?
Add -64 option? Bart -- Bart Smaalders Solaris Kernel Performance bart.smaalders at oracle.com http://blogs.sun.com/barts "You will contribute more with mercurial than with thunderbird."