Author Topic: MinGW 4.5.0 Build  (Read 10665 times)

Offline ironhead

  • Almost regular
  • **
  • Posts: 210
MinGW 4.5.0 Build
« on: October 24, 2010, 12:23:53 am »
Hi All,

I was able to compile wxWidgets 2.8.11 in a non-Monolithic fashion using mingw.org's official 4.5.0 release using this command:

Code
mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=0 BUILD=release UNICODE=1 LDFLAGS=-s LINK_DLL_FLAGS="-shared -Wl,--enable-auto-import" RUNTIME_LIBS=static

Then using these project files and Contrib.workspace, I was able to compile the latest SVN:

http://dl.dropbox.com/u/5530441/mingw45-files.tar.bz2

I'm posting it here in case someone else may find it useful.

Cheers!

Chris

Offline ironhead

  • Almost regular
  • **
  • Posts: 210
Re: MinGW 4.5.0 Build
« Reply #1 on: October 26, 2010, 02:35:04 pm »
Updated CodeBlocks project file for the 'Abbreviations' target:

http://dl.dropbox.com/u/5530441/CodeBlocks-45.cbp

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: MinGW 4.5.0 Build
« Reply #2 on: October 26, 2010, 09:12:48 pm »
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

Offline ironhead

  • Almost regular
  • **
  • Posts: 210
Re: MinGW 4.5.0 Build
« Reply #3 on: October 27, 2010, 04:07:55 pm »
http://dl.dropbox.com/u/5530441/CodeBlocks-45.cbp
...what was wrong with the old one?

With the addition of the 'Abbreviations' build target (which wasn't in the previous C::B project), I needed to add the appropriate wx libraries (as a result of the non-monolithic wx build) to the 'Abbreviations' target.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: MinGW 4.5.0 Build
« Reply #4 on: October 27, 2010, 08:19:52 pm »
With the addition of the 'Abbreviations' build target (which wasn't in the previous C::B project), I needed to add the appropriate wx libraries (as a result of the non-monolithic wx build) to the 'Abbreviations' target.
I see - so it's not related to our SVN. I missed that.
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

Offline ironhead

  • Almost regular
  • **
  • Posts: 210
Re: MinGW 4.5.0 Build
« Reply #5 on: October 28, 2010, 05:33:27 am »
With the addition of the 'Abbreviations' build target (which wasn't in the previous C::B project), I needed to add the appropriate wx libraries (as a result of the non-monolithic wx build) to the 'Abbreviations' target.
I see - so it's not related to our SVN. I missed that.

In a way it is, I'm trying to keep CodeBlocks-45.cbp in step with CodeBlocks.cbp, the original files I uploaded were pre rev. 6761, the new project file handles 6761 and above (up to 6773 so far).

Offline ArbolOne

  • Multiple posting newcomer
  • *
  • Posts: 13
Re: MinGW 4.5.0 Build
« Reply #6 on: November 01, 2010, 11:23:38 am »
Hey kids!
Could any of you make a installer or write down a 'step by step' tutorial about how to build C::B?

TIA


Offline ironhead

  • Almost regular
  • **
  • Posts: 210
Re: MinGW 4.5.0 Build
« Reply #8 on: November 07, 2010, 04:22:12 pm »
I'm attempting to keep these project files in sync with the official ones.  As such, I'm keeping the same file name and just updating the file.  The latest project files will always be here:

http://dl.dropbox.com/u/5530441/mingw45-files.tar.bz2

Cheers!

Chris