On 21 Oct 2010, at 08:24, Graeme Geldenhuys wrote: > Op 2010-10-20 20:36, Jonas Maebe het geskryf: >> >> On 20 Oct 2010, at 19:54, Brian Winfrey wrote: >> >>>> make OPT="-O-" DEBUG=1 all >>> >>> When I ran this I see that both -dDEBUG and -dRELEASE are passed on >>> the fpc command line. Is that correct? >> >> Yes. > > Mind explaining why? DEBUG and RELEASE is known to be opposites, so what do > you end up with when both defines are specified, a debug build (debug info > includes) or a release build (stripped version - no debug info)?
A debug build compiled for releasing (e.g., with all units compiled so that the compiler will not try recompiling them when it finds a source file with same name). Jonas_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal