Hi there!
I have a source written in gcc and i want to compile it inside a keil carm project using the --gnu command. What should i do?
Thanks in advance
Keil no longer support either GCC or CARM (it was discontinued some time back)
" have a source written in gcc"
GCC is a compiler (or, rather, a collection of compilers) - so you cannot write code "in" it.
IF you have written code that relies upon certain implementation-specific features of GCC, then, whatever other compiler you may wish to use, you are going to have to study it Manuals to determine how to force it to behave similarly.
You will make your life a whole lot easier if you never rely upon any compiler-specifics other than in clearly-defined, clearly-delimited places - then you know where to look when it comes to porting...