Have you double checked that you are not compiling for Win64 with the command line? (i.e. check that it is actually dcc32.exe that is being called).
In this case, NativeInt has 64 bits, and that would be fine to raise this error.
You are also trying to complete the build using the -B option , for example ( c:\program files\embarcadero\rad studio\9.0\bin\dcc32.exe -$O- -$W+ --no-config -B -Q .. .) or a simple compilation with the -M option, for example ( c:\program files\embarcadero\rad studio\9.0\bin\dcc32.exe -$O- -$W+ --no-config -M -Q ...) ?
I will also try to destroy all dcus to see if this helps.
And since it works from the IDE, try capturing the command line shown in the Messages area and try the same line in the console.
source share