News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

MinGW 4.5.0 Build

Started by ironhead, October 24, 2010, 12:23:53 AM

Previous topic - Next topic

ironhead

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:

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

ironhead

Updated CodeBlocks project file for the 'Abbreviations' target:

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

MortenMacFly

Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

ironhead

Quote from: MortenMacFly on October 26, 2010, 09:12:48 PM
Quote from: ironhead on October 26, 2010, 02:35:04 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.

MortenMacFly

Quote from: ironhead on October 27, 2010, 04:07:55 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: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

ironhead

Quote from: MortenMacFly on October 27, 2010, 08:19:52 PM
Quote from: ironhead on October 27, 2010, 04:07:55 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.

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).

ArbolOne

Hey kids!
Could any of you make a installer or write down a 'step by step' tutorial about how to build C::B?

TIA


ironhead

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