Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: ironhead on October 24, 2010, 12:23:53 am

Title: MinGW 4.5.0 Build
Post by: ironhead 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 (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
Title: Re: MinGW 4.5.0 Build
Post by: ironhead 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 (http://dl.dropbox.com/u/5530441/CodeBlocks-45.cbp)
Title: Re: MinGW 4.5.0 Build
Post by: MortenMacFly on October 26, 2010, 09:12:48 pm
http://dl.dropbox.com/u/5530441/CodeBlocks-45.cbp (http://dl.dropbox.com/u/5530441/CodeBlocks-45.cbp)
...what was wrong with the old one?
Title: Re: MinGW 4.5.0 Build
Post by: ironhead on October 27, 2010, 04:07:55 pm
http://dl.dropbox.com/u/5530441/CodeBlocks-45.cbp (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.
Title: Re: MinGW 4.5.0 Build
Post by: MortenMacFly 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.
Title: Re: MinGW 4.5.0 Build
Post by: ironhead 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).
Title: Re: MinGW 4.5.0 Build
Post by: ArbolOne 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
Title: Re: MinGW 4.5.0 Build
Post by: Jenna on November 01, 2010, 11:35:28 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
http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Windows (http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Windows)
http://wiki.codeblocks.org/index.php?title=Compiling_Code::Blocks_in_Linux_%28applies_to_all_distros%29 (http://wiki.codeblocks.org/index.php?title=Compiling_Code::Blocks_in_Linux_%28applies_to_all_distros%29)
http://wiki.codeblocks.org/index.php?title=Nightly_Cookbook (http://wiki.codeblocks.org/index.php?title=Nightly_Cookbook)
http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef (http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef)
Title: Re: MinGW 4.5.0 Build
Post by: ironhead 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