Hi
I'm using ARM tools (RVDS4) to develop a project. Now I want to use a software lib which compiled by GCC.
I read spec of GCC and add a compile flag "-mabi=aapcs" to GCC and rebuild the lib.
Question:
BTW, I tested it and get an error about wchar type, so I add "--wchar32" to armcc flag.
Now build pass, but I'm not sure it can run normally.
This application note (AN212) may be useful:
Building Linux applications using RVCT v4.0 and the GNU Tools and Libraries
In particular you can make RVCT emulate the GCC command line, and use RVCT to compile many GCC-based projects. It can't handle everything (inline assembler seems to cause it problems), but not many projects need that.
HTH,
Pete