ARM THUMB interwork in GCC

Guest #1171997
Rate this post
useful
not useful
Girish Wabale wrote:

> Can I write  ARM and THUMB functions in same file in GCC .
> what are the attributes for that....

As far as I know this is not possible with gcc so far. A C source-file
can be compiled either in thumb- or in arm-mode. Split the source in
separate files and compile each one with the appropriate options.

Reply

Please log in before posting.

or

Log in with Google account

Registration is free and takes only a minute.

Register now