PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Using some other compilers for optimum code

I noticed that eVC produces some highly unoptimised code even in release builds so I am thinking some alternatives for this ... my first thought was to use some other compilers for ARM/StrongARM and use their optimised asm code inside key spots in my projects.

But I am wondering if those compilers can be used for more - like compiling DLLs and/or libraries that can be directly used on PocketPC or inside eVC ... anyone has tried this before ? My real problem is if those other ARM/SArm compilers can generate binaries/libs compatible with the format used by eVC or PPC ...

Thanks in advance for any answers
I noticed that eVC produces some highly unoptimised code even in release builds so I am thinking some alternatives for this ... my first thought was to use some other compilers for ARM/StrongARM and use their optimised asm code inside key spots in my projects.

But I am wondering if those compilers can be used for more - like compiling DLLs and/or libraries that can be directly used on PocketPC or inside eVC ... anyone has tried this before ? My real problem is if those other ARM/SArm compilers can generate binaries/libs compatible with the format used by eVC or PPC ...



You can use gcc, but I don't know if it can export Microsoft compatible .obj files (it uses .o files). Maybe Gnu's objcopy could convert .o files to .obj files? I don't know...

Maybe ARM's own compiler would output in a format compatible with eVC?
And what if we used compiled code as input for the assembler? That could work. :)
well, the best compiler for ARM platforms is the ARM SDT, available from www.arm.com, you can get a 45day trial edition of it to try out for free from ARM, i have it. The ARM compiler has probally the best optimizations when compiling EXEs. Plus, you could always generate ASM code for your routines, then plug them into eVC++.
Phantom wrote:
And what if we used compiled code as input for the assembler? That could work. :)


Yes, this is the approach I am trying right now :)