> On Sun, 2010-03-14 at 20:15 -0400, Pavel Pavlov wrote: > > > On Sun, 2010-03-14 at 04:25 -0400, Pavel Pavlov wrote: > > > > Sorry, I should have give more info. Off course default vanilla > armv4 > > > will work, > > > > but I need to enable armv7 + neon compilation. Currently, It > won't > > > compile the > > > > code: error, unsupported ins for this arch. > > > > > > arm-mingw32ce-gcc --target-help mentions a lot of options. > > > > > > That's a standard switch that's mentioned in arm-mingw32ce-gcc -- > help. It doesn't mention anything on how to get list of supported > target CPU's or arch's. > > Doesn't this bit help ? > > Danny > > > Known ARM CPUs (for use with the -mcpu= and -mtune= options): > cortex-m1, cortex-m3, cortex-r4f, cortex-r4, cortex-a9, cortex-a8, > arm1156t2-s, mpcore, mpcorenovfp, arm1176jzf-s, arm1176jz-s, > arm1136jf-s, > arm1136j-s, arm1026ej-s, arm926ej-s, iwmmxt2, iwmmxt, xscale, > arm1022e, > arm1020e, arm10e, arm968e-s, arm966e-s, arm946e-s, arm9e, arm1020t, > arm10tdmi, ep9312, arm940t, arm922t, arm920t, arm920, arm9tdmi, > arm9, > arm740t, arm720t, arm710t, arm7tdmi-s, arm7tdmi, strongarm1110, > strongarm1100, strongarm110, strongarm, arm810, arm8, arm7dmi, > arm7dm, > arm7m, arm7500fe, arm7500, arm7100, arm710c, arm720, arm710, > arm700i, > arm700, arm70, arm7di, arm7d, arm7, arm620, arm610, arm600, arm60, > arm6, > arm3, arm250, arm2 > > Known ARM architectures (for use with the -march= option): > iwmmxt2, iwmmxt, ep9312, armv7-m, armv7-r, armv7-a, armv7, armv6-m, > armv6t2, > armv6zk, armv6z, armv6k, armv6j, armv6, armv5te, armv5e, armv5t, > armv5, > armv4t, armv4, armv3m, armv3, armv2a, armv2 >
Strange, I'm not getting this output (I tested with the 4.1.0 build) I was testing with 4.1.0, it was added in 4.4.0. If you are using 4.4.0, can you test this code: #include <windows.h> int main(int argc, char **argv){ return (long) &VirtualAlloc; } 1) with -march=armv5te (works ok) 2) with -march=armv7 (error: target CPU does not support ARM mode ?!?) 3) with -mcpu=cortex-a8 (Assembler messages: Error: cannot represent BFD_RELOC_ARM_MOVW relocation in this object file format) Does it mean that there is no proper support for newer cpu's in the version of binutils that come with cegcc? Is it easier for me to upgrade? PS: Cmd line used: arm-mingw32ce-gcc -c /tmp/test.c -mcpu=cortex-a8 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel