Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: jmccay on May 31, 2007, 03:45:28 am

Title: Nightly Builds
Post by: jmccay on May 31, 2007, 03:45:28 am
Is this:

Code
set path=c:\mingw\bin;c:\mingw\mingw32\bin
 mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 VENDOR=cb clean
 mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 VENDOR=cb

Still the way to build wxWidgets for Code::Blocks?  This weekend I am going to build wxWidgets 2.8.x, and then try and build code::blocks.  I may even try and build gcc 4.2 too--if I get ambitious.  Anything I should watch out for when I build wxWidgets?

Also, is -Wno-attributes a gcc 4.x.y option (currently, I am using 3.4.5)?  I think I still have MSys installed and configured.
jmccay
Title: Re: Nightly Builds
Post by: stahta01 on May 31, 2007, 04:08:40 am
Is this:

Code
set path=c:\mingw\bin;c:\mingw\mingw32\bin
 mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 VENDOR=cb clean
 mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 VENDOR=cb

Still the way to build wxWidgets for Code::Blocks?  This weekend I am going to build wxWidgets 2.8.x, and then try and build code::blocks.  I may even try and build gcc 4.2 too--if I get ambitious.  Anything I should watch out for when I build wxWidgets?

Also, is -Wno-attributes a gcc 4.x.y option (currently, I am using 3.4.5)?  I think I still have MSys installed and configured.
jmccay

Yeah, that the way I build wxWidgets when I wish to use an DLL named like the Code::Blocks DLL.

I think, but not sure, "-Wno-attributes" is the 4.x option needed to reduce warnings on building stuff.

Tim S
Title: Re: Nightly Builds
Post by: killerbot on May 31, 2007, 07:45:25 am
yes that's it. You can also check the nightly cookbook, only their the VENDOR=cb was removed from the posting. If you want a dll that cb can use, that's what you need.
Title: Re: Nightly Builds
Post by: Deschamps on May 31, 2007, 11:34:40 am
Quote from: jmccay
Is this:

Code
set path=c:\mingw\bin;c:\mingw\mingw32\bin
 mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 VENDOR=cb clean
 mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 VENDOR=cb

Still the way to build wxWidgets for Code::Blocks?

Hello,

Only a note: I think that it isn't needed to add c:\mingw\mingw32\bin to your PATH, due to those binaries are currently the same that already exist inside c:\mingw\bin. Moreover, you can use the VENDOR that you want if you want to build your own C::B from svn sources, because you will compile against your own build for wxWidgets. wxmsw28_gcc_cb.dll is only needed for the windows binaries released by killerbot.

And, of course, this is only for Windows platforms.

Regards.