MIPS Processor - GCC version 3.4.4 linux platform, generating 64 bit code

hi,

please suggest me in solving the below issue. Working on mips processor on linux platform - GCC 3.4.4 complier version .

Trying to generate 64 bit code using MIPS GCC cross complier 3.4.4 version through following

complier options:

-march = mips4 -mabi = 64

But i am getting the compilation errors ,

"ld terminated with signal 11". "ABI incompatible with that of the selected emulation".

i dont know how to resolve this. please provide me some help in solving this.

Reply to
geethajagan
Loading thread data ...

What does this mean? The development platform is MIPS-based and has Linux installed on it? Or: The development platform is x86-based and has Linux installed on it and the target is Linux/MIPS? Or the target is some embedded no-opsys system based on MIPS? Ok, the GCC being version 3.4.4 became clear but not anything from the most important things :(

What is the development host?

What is the target system for the crosscompiler?

The error comes from the linker, 'ld', so :

Do you have those startups & libraries required for ' -march = mips4

-mabi = 64' or only some 32-bit startups and libraries?

A toolchain made for 'mips-linux-gnu', 'mips-elf' or something can only have the 32-bit stuff although being capable to produce 64-bit objects... A toolchain made for 'mips64-linux-gnu', 'mips64-elf' or something then could have both, the default 64-bit plus the optional

32-bit stuff, used via '-m32' or something...
Reply to
Willem van der Ruuppendorff

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.