Roger's woze

August 4, 2009

gcc “-D” to set a pre processor parameter flag same for CCFLAGS

Filed under: Uncategorized — rogerdpack @ 5:08 pm

here’s how:

gcc test.c -DGC_MALLOC_LIMIT=3300

note also that CCFLAGS is simlar

[in windows at least]

set CCFLAGS=”-DGC_MALLOC_LIMIT=3300″

or

set CCFLAGS=-DGC_MALLOC_LIMIT=3300

1 Comment »

  1. cflags preprocessor example

    Comment by rogerdpack — August 4, 2009 @ 5:10 pm

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress