It's actually quite easy. You need to write a batch file and overwrite your cl.exe with it. You can then get as clever as you like, but don't forget to put it back again when you wanna write for pc again. I think theres also somewhere to specify an external compiler and linker.
Hmmmmmm... I guess my answer was wrong, though... :(
But... Replacing a .exe file with a .bat one won't make the dos window crash ?? I did this experiment on my early days of computing, and that happenned...
Unless you make a .exe file to replace a .exe file...
Another (better) solution is to write a devstudio plug-in that cross-munges the various switches and options so you can properly control your source generation using DevStudios interface. SN systems did a pretty good job of this to make the pc devstudio compile for the PS2 console ffs, so Unix and Mac would be childsplay!
Cool, but a lot of work here... :) Not a easy way to do it...
Well, if someone do it (in a easy way), please tell me too... I thought it couldn't be done.
Cheers !
-- J. Machado
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
