#2189 - gb_feedback - Thu Jan 30, 2003 8:48 pm
Is there a way (in GCC) to specify that a particular function in C++ is to be compiled as ARM when the compiler is set to Thumb?
#2196 - Paul Shirley - Fri Jan 31, 2003 1:17 am
Not that I know of. Ideally you should put Thumb and Arm code in separate source files, its much simpler.
Otherwise: you'll need to compile source twice, pass a symbol in to control compilation and generate different object file names each time... I recommend you avoid the pain.