Author Topic: Customized Compile  (Read 8271 times)

cywareinc

  • Guest
Customized Compile
« on: March 15, 2011, 12:54:13 am »
Just downloaded code::block, very nice IDE!!!

Are there any guides to configure customized compile/link? 

For linux, I am using APXS to create apache modules.  Is there any way to specify APXS as my default compiler (i.e. apxs -c foo.c) and linker (i.e. apxs -i foo.la).

For Windows, I am using an ARM compiler provided by Verifone.  I currently use Source Navigator to specify the customized compiler and link options.  Thanks.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9702
Re: Customized Compile
« Reply #1 on: March 15, 2011, 07:09:45 am »
For linux, I am using APXS to create apache modules.  Is there any way to specify APXS as my default compiler (i.e. apxs -c foo.c) and linker (i.e. apxs -i foo.la).
If it is command line compatible with a supported compiler, yes. Just change the name of the compiler/linker executables in the global compiler settings. Probably making a copy of the base compiler is useful.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ