[fpc-pascal] problem with command line defines??

waldo kitty wkitty42 at windstream.net
Wed Nov 28 19:22:44 CET 2012

on OS/2 eCS2 i have fpc 2.6.0 release installed... i've been working with a 
library and needed to create a define so that some code would be compiled that 
otherwise is not... since i have to compile from the command line with fpc, i 
compiled my project like this...

   fpc -dOS2GCC testhttp

and it did compile with the defined code block... later, i wanted to test 
without that defined code block so i compiled again like this...

   fpc testhttp

but the library wasn't recompiled... i had to manually remove the *.O and *.ppu 
files to get it recompiled without the defined code block...


the time between compilation and testing attempts was less than one minute... 
would this have something to do with this problem?

More information about the fpc-pascal mailing list