Quote:
Originally Posted by ta0kira
It all depends on the compiler/linker specifications when they're configured. Are you saying that the sparc64 took -m32 with gcc and didn't require it of ld? When you get down into specific processors you can't expect two procedures to behave the same on two different architectures.
You might be able to link using gcc with the same -m option instead of using ld.
ta0kira
|
Sparc64 does not need -m32 we need to include -xarch=v9 then compiler will build 64 bit ELF, but ld on Sparc64 is able to understand whether the ELF is 32 bit or 64 bit, but it is not happening in Linux.
Yes you are correct, i will be able to gcc to link object files using -m option.
Thank you for your reply.
Thanks,
Dayalan