2005-10-19

Open source remote compile c++ IDE BVRDE

Happened to see an open source remote compile c++ IDE called BVRDE. It
claims: "BVRDE is an Integrated Development Environment (IDE) for C
and C++. It is designed to make cross-platform development easy. Its
features include project management, application wizards, an
integrated interactive debugger, and a powerful source editor with
source browsing and syntax highlighting.

The goal of this tool is to allow a developer to compile and debug
applications entirely on a remote computer, while editing and issuing
compile and debug commands through a local interface. BVRDE supports a
variety of network protocols to allow connectivity with various remote
systems. This includes FTP and secure & encrypted protocols such as
SSH and SFTP. "

"It runs on a Windows NT platform and connects to almost any UNIX /
LINUX system. BVRDE builds and runs your code on the remote machine,
but allows you to control the entire development process from your
Windows PC. "
This is exactly what I need at the moment. Will give it a try sometime.

2005-10-17

MinGW gcc 3.4.4 manual install for Window2000, XP

MinGW gcc 3.4.4 manual installation for Window2000, XP, to be used by
Code::Blocks C++ IDE

Download the following files and them all into the same directory. For
example C:\MinGW.

Base system with C++
http://prdownloads.sourceforge.net/mingw/gcc-core-3.4.4-20050522-1.tar.gz?download
http://prdownloads.sourceforge.net/mingw/gcc-g++-3.4.4-20050522-1.tar.gz?download
http://prdownloads.sourceforge.net/mingw/mingw-runtime-3.8.tar.gz?download
http://prdownloads.sourceforge.net/mingw/mingw-utils-0.3.tar.gz?download
http://prdownloads.sourceforge.net/mingw/w32api-3.3.tar.gz?download
http://prdownloads.sourceforge.net/mingw/binutils-2.15.91-20040904-1.tar.gz?download
http://prdownloads.sourceforge.net/mingw/mingw32-make-3.80.0-3.tar.gz?download

Optional:
gdb debugger:
http://prdownloads.sf.net/mingw/gdb-5.2.1-1.exe?download

Objective-C
http://prdownloads.sourceforge.net/mingw/gcc-objc-3.4.4-20050522-1.tar.gz?download

Guide to codeblocks installation under Redhat Linux 9

Guide to codeblocks installation under Redhat 9

Finally I installed the codeblocks under Redhat Linux 9 after 3 days' research.
Here are the details of what I did. Hopefully also useful for other
Redhat users.
The whole procedure includes 3 major steps:
(1) Install wxWidgets
(2) Install automake
(3) Install codeblocks
The following assumes you have logged in as root.

(1) Install wxWidgets
1. Download wxGTK-2.4.2-1.i386.rpm, wxGTK-2.4.2.tar.gz and
wxGTK-devel-2.4.2-1.i386.rpm from the official wxWidgets website.
Let's assume these packages are put under the 'wxwidgets' directory.
2. Install the rpm packages:
rpm -Uvh wxGTK-2.4.2-1.i386.rpm
rpm -Uvh wxGTK-devel-2.4.2-1.i386.rpm
3. Build the xrc lib that is not included in the above rpms. So we
have to extract the source code and compile them. First unpack the
source code:
tar -xvzf wxGTK-2.4.2.tar.gz
cd wxGTK-2.4.2
4. Now compile the main source code:
mkdir bld
cd bld
../configure --with-gtk
make
5. The above doesn't compile the xrc by default, so we have to do it
by ourselves:
cd contrib/src/xrc
make
6. Now we need to install the xrc lib manually. First we need to know
where the wxGTK lib 'libwx_gtk-2.4' has been installed:
rpm -ql wxGTK
In my system, the first few lines say:
/usr/lib/libwx_gtk-2.4.so.0
/usr/lib/libwx_gtk-2.4.so.0.1.1
...
Ok, let's install the xrc lib 'libwx_gtk_xrc' to the '/usr/lib/' and
make a symbolic link (remember we are now under the
'wxWidgets/wxGTK-2.4.2/bld/' directory):
cp lib/libwx_gtk_xrc-2.4.so.0.1.1 /usr/lib/
ln -s /usr/lib/libwx_gtk_xrc-2.4.so.0.1.1 /usr/lib/libwx_gtk_xrc-2.4.so
7. Copy the xrc header files to the right position. First check where
the wx header files are installed:
rpm -ql wxGTK-devel
In my system, it is:
/usr/include/wx/
Ok, we copy the xrc header files to the system directory:
cp -r ../contrib/include/wx/xrc /usr/include/wx/
8. Run:
ldconfig

(2) Install autoconf and automake
1. The following versions are needed: autoconf 2.58+, automake 1.7+.
Find and download the autoconf and automake rpm packages using rpm
find web site. Now we have:
autoconf-2.59-5.noarch.rpm
automake-1.9.6-1.noarch.rpm
2. Install them:
rpm -Uvh autoconf-2.59-5.noarch.rpm
rpm -Uvh automake-1.9.6-1.noarch.rpm

(3) Install codeblocks
You'll be better off downloading and building the CVS version. It's
pretty stable and will become RC2 as it is now. Also the build system
has changed. Don't use the RC1-1 on the homepage.

1. Log into CVS, when asked for password, just enter.
cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/codeblocks login
2. Download source:
cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/codeblocks co codeblocks
3. The above will create the directory 'codeblocks'. This will be the
top directory for our installation. Now go into it:
cd codeblocks
4. Then compile:
./bootstrap
./configure --prefix=/usr
make
5. Then install it into the /usr directory:
make install
6. Now you can run the codeblocks by issuing:
codeblocks
Or you can use the 'Start Applications menu' to launch it. It is on
the Start Application/Programming/code::blocks IDE

2005-10-16

Open Source Cross platform C++ IDE

Found a new open source Cross platform C++ IDE called Code::Blocks.
Looks like a good one. It uses wxWidget to render the GUI.
Installation under Windows is easy. Just 1 minute. But under Linux is
a nightmare. Even the official guide is not correct. I spent 3 days
try and error and finally got it right. Will post the guide for Redhat
9 later.