Code::Blocks Forums

User forums => Help => Topic started by: stahta01 on May 12, 2009, 10:46:46 pm

Title: Using CygWin to Install Code::Blocks
Post by: stahta01 on May 12, 2009, 10:46:46 pm
FYI:

This is a record of me trying to install Code::Blocks under CygWin.
Note: I know it is rather pointless; but, it should help me test Code::Blocks Build changes without using Linux till the final test.

Tim S
Title: Re: Using CygWin to Install Code::Blocks
Post by: stahta01 on May 12, 2009, 11:04:26 pm
Cygwin setup 1.7 packages needed; this is not a complete list.
    Build Tools
        gcc4-g++         (Devel)
        libtool              (Devel)
        make               (Devel)
        pkg-config        (Devel)
        subversion        (Devel)
        zip                  (Archive)
    Code Packages
        atk-devel         (Gnome)
        gtk2-x11-devel  (Devel, Graphic, Libs
        pango-devel      (Devel, Libs, Test)
       
Test before doing configure
    pkg-config gtk+-2.0 --libs
    g++ -v
Title: Re: Using CygWin to Install Code::Blocks
Post by: stahta01 on May 13, 2009, 02:46:31 am
Patch needed for Building CB under CygWin. Tim S

Code
Index: codeblocks-trunk/src/sdk/wxscintilla/Makefile.am
===================================================================
--- codeblocks-trunk/src/sdk/wxscintilla/Makefile.am (revision 5593)
+++ codeblocks-trunk/src/sdk/wxscintilla/Makefile.am (working copy)
@@ -3,7 +3,7 @@
  -I$(srcdir)/src/scintilla/include \
  -I$(srcdir)/src/scintilla/src
 
-AM_CPPFLAGS = -DSCI_LEXER -DLINK_LEXERS -DGTK -D__WX__
+AM_CPPFLAGS = -DSCI_LEXER -DLINK_LEXERS -DGTK -D__WX__ -DWXMAKINGDLL_SCI
 
 noinst_LTLIBRARIES = libwxscintilla.la
 
Title: Re: Using CygWin to Install Code::Blocks
Post by: stahta01 on May 18, 2009, 01:39:49 am
I am having problems with scripting (sqplus and etc.)

Going to have to relearn how to patch Squirrel stuff; it always seems so complex.


SVN 4648 note: update from Squirrel 2.1.0/SQPlus 1.7 to Squirrel 2.1.1/SQPlus 2.3

from squirrel.h SQUIRREL_VERSION    "Squirrel 2.1.1 stable"

bindings   Code::Blocks custom bindings best guess
include     "Squirrel 2.1.1 stable" best guess
sqstdlib    "Squirrel 2.1.1 stable" best guess
squirrel     "Squirrel 2.1.1 stable" best guess 
sqplus      2.3 or higher              best guess

Tim S.

Title: Re: Using CygWin to Install Code::Blocks
Post by: MortenMacFly on May 18, 2009, 08:26:09 am
from squirrel.h SQUIRREL_VERSION    "Squirrel 2.1.1 stable"

bindings   Code::Blocks custom bindings best guess
include     "Squirrel 2.1.1 stable" best guess
sqstdlib    "Squirrel 2.1.1 stable" best guess
squirrel     "Squirrel 2.1.1 stable" best guess 
sqplus      2.3 or higher              best guess
I don't really get the question from this part but keep in mind that we are using a patched version of Squirrel to match C::B requirements. So there is no package you can download with the sources except exactly the ones from C::B SVN.
Title: Re: Using CygWin to Install Code::Blocks
Post by: stahta01 on May 18, 2009, 10:03:45 am
from squirrel.h SQUIRREL_VERSION    "Squirrel 2.1.1 stable"

bindings   Code::Blocks custom bindings best guess
include     "Squirrel 2.1.1 stable" best guess
sqstdlib    "Squirrel 2.1.1 stable" best guess
squirrel     "Squirrel 2.1.1 stable" best guess 
sqplus      2.3 or higher              best guess
I don't really get the question from this part but keep in mind that we are using a patched version of Squirrel to match C::B requirements. So there is no package you can download with the sources except exactly the ones from C::B SVN.

Not a question; just trying to figure out where the build fails; I normally have to get it working with normally sqplus before seeing the change that breaks the build. This time I am trying to build Code::Blocks using Cygwin and GCC 4.3.

I want to try to build some software using Code::Blocks and Cygwin and I thought see how well Code::Blocks build. Might give up in a few days.

Tim S