I tried the second thing (PFLAGS), but I get similar warnings
(interworking
not enabled). BTW, there is a way to build libgpc only, without recompiling all gpc?
GCC Makefiles pass around a lot of variables, so running make in a subdirectory is tricky. However, if you remove `.o' and `.gpi' files from 'p/rts' directory, and them run `make', that should force re-build of libgpc (`make' should reasonably fast find out that there is nothing to do in other directories).
Did you check that your `PFLAGS' setting survived to libgpc build (look in the log for commands used to compile `rtsc.pas')? You probably need to set `PFLAGS' in environment like:
export PFLAGS=....
Yes, I export PFLAGS in this way; the log file says that rtsc.pas is compiled with -mthumb-interwork flag.
Thanks for your help!
Francesco