This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: wince gcc and clmips incompatibility
- To: reedkotler at hotmail dot com
- Subject: Re: wince gcc and clmips incompatibility
- From: DJ Delorie <dj at delorie dot com>
- Date: Tue, 23 May 2000 14:16:56 -0400
- CC: binutils at sourceware dot cygnus dot com
- References: <20000523174804.1162.qmail@hotmail.com>
> The gcc wince (normal little endian gcc mips with new wince
> binutils) generates incomatible data references for simple objects
> like ints.
GCC has more flexible and powerful relocs than clmips, which allows
gcc to do optimizations that clmips can't. However, this does mean
that anything compiled with gcc must be linked with GNU ld, not MS
link.
IMHO if you see a case where GNU ld can't handle an object produced by
clmips, that's a bug, because you almost always have to link against
MS libraries. Problems going the other way are not as much of an
issue because you can just use the GNU linker.
But, feel free to contribute patches that add that type of
compatibility if you feel it's a worthy goal.