Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
[Noob] Compilation problem on the nightly build on Linux
b-s-a:
I can compile only using CXXFLAGS="-Ulinux -Uunix". CFLAGS does not help me.
Biplab:
--- Quote from: b-s-a on March 13, 2007, 11:15:33 am ---I can compile only using CXXFLAGS="-Ulinux -Uunix". CFLAGS does not help me.
--- End quote ---
In that case you've to define the CPPFLAGS same way as you did for CFLAGS. That should solve the problem. :)
TSalm:
yes, it's ok with this flags
thanks
dje:
I feel stupid... :(
I am a Linux Ubuntu newbee and my plug-in projects don't compile (Ubuntu 6.10, GCC 4.1.2, SVN 3704) whereas Code::Blocks project does.
How/Where do you add -U to CFLAGS ?
Thanks,
Dje
thomas:
If you use a .cbp file, just add it to "other options" under the compiler tab.
If you use make, add it to the toplevel makefile, if you use autotools, add it to configure.in as shown here:
http://svn.berlios.de/wsvn/codeblocks?op=comp&compare%5B%5D=%2F@3695&compare%5B%5D=%2F@3694&manualorder=1
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version