it'urgent please help me!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Kai Ruottu
karuottu@mbnet.fi
Tue Feb 20 11:01:00 GMT 2007
sameer sinha wrote:
>> Please can any one tell me how to bulid gcc newer version for
>> generating code for i960MC processor.
Newer than which GCC version?
>>
>> is there any switch to generate coed for i960MC or i will have to
>> build it first
>> for target i960.
The switch seems to be '-mmc' for i960MC code generation.... As
default for instance
a gcc-3.2.3 for 'i960-coff' produces code for something 'generic' but
multilibs for
'soft-float' and 'ld64' (whatever this then means) will be produced but
no 'i960MC'
optimized libraries without first patching the GCC sources to do this...
>>
>> Right now i am using Linux i686.
Building cross GCCs on Linux i686 should be a piece of cake...
>>
>> And also tell me whether it's possible to generate i960Mc code
>> for language Ada95 or it is only possible for language "C" ???????
I'm not a specialist in Ada but I would expect this language requiring
the target to be a
"system" like "Linux", "VxWorks", "RTEMS" etc. with a "file system" in
it, so that things
like 'dirent.h' would exist among its target headers. An embedded
target like 'i960-coff'
isn't this kind of "system target" !
So before you will tell your target type, not only the CPU type, it is
totally vain to discuss
about any "how to build a cross GCC for the i960-system-x" issues. What
I told being a
"piece of cake", was producing a cross GCC for 'i960-coff' with the
gcc-3.2.3 sources. But
the 'i960-wrs-vxworks' target can be totally another thing :-(
More information about the Gcc-help
mailing list