Hello everybody
I downloaded and built latest cegcc (I'm using mingw32ce build)
The problem I'm getting is that I can't build for iwmmxt cpu. I tried
-mcpu=iwmmxt -march-iwmmxt -mabi=wmmxt etc, but nothing works.
In all cases I get this error:
iwmmxt requires an AAPCS compatible ABI for proper operation
Then I checked source code why I'm getting this error and it seems that
it's impossible to build iwmmxt with cegcc for the following reason:
wince-pe.h:
#undef ARM_DOUBLEWORD_ALIGN
#define ARM_DOUBLEWORD_ALIGN 0
and the code that give that error:
in arm.c:
if (TARGET_IWMMXT && !ARM_DOUBLEWORD_ALIGN)
error ("iwmmxt requires an AAPCS compatible ABI for proper operation");
I tried soft-abi etc, nothing helps.
any ideas how to get gcc compile for iwmmxt?
thanks
Also,
while updating I noticed this:
Revision: 1352
Author: dannybackx
Date: 04:21:10, August 08, 2009
Message:
This looks like it is the cause of the DLL issue.
----
Modified : /trunk/cegcc/src/gcc-4.4.0/ChangeLog.ce
Modified : /trunk/cegcc/src/gcc-4.4.0/gcc/config/i386/mingw32ce.h
What's that DLL issue? Is that the problem that binaries built with
cegcc do not load (and upx compression fixes it)? With the latest cegcc
I still have that problem, binaries do not load on all the phones that I
have (a few htc mobiles and motorola mc75). At some point I was
compiling some c files with cegcc and was linking them with ms compiler
and at some point I started to get that same error even though ms tool
were used for linking. Compressing that corrupted binary produced by ms
compiler/linker fixed problem the same way.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Cegcc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel