Author Topic: GCC Configuration  (Read 3649 times)

Offline rpirpag

  • Single posting newcomer
  • *
  • Posts: 8
GCC Configuration
« on: May 16, 2011, 03:57:29 pm »
Hello,

If I want to use the mingw/msys environment instead of the mingw which comes with CB. Do I also have to configure the Include, lib directories ( I assume mingw is installed in c:\mingw) in the compiler and linker search path?
If I compile libraries with msys then they will be installed in C:\MinGW\msys\1.0\local\include,lib. Do I have these paths also configure in the compiler and linker path or does CB find them automatically?


Thank you,
Reinhard

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: GCC Configuration
« Reply #1 on: May 16, 2011, 08:23:36 pm »
You have to configure this as every other compiler. This includes the path's to the executables, include folders (local and globale, e.g. /usr/local/include and /usr/ include) and the libs accordingly.
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