This is the mail archive of the
mailing list for the Cygwin project.
Installing GCC 3.2.3
- From: Mikael Åsberg <mikas493 at student dot liu dot se>
- To: <cygwin at cygwin dot com>
- Date: Wed, 7 May 2003 14:17:07 +0200
- Subject: Installing GCC 3.2.3
Hello, I am trying to install GCC 3.2.3 on the latest Cygwin 1.3.22. Here
are my installation steps:
$ tar xvzf gcc-3.2.3.tar.gz
$ mkdir obj
$ cd obj
../gcc-3.2.3/./configure --prefix=/usr/local/gcc-3.2.3/ --exec-prefix=/usr/l
$ make install
These steps completed without any errors. When they were finished, I did:
$ gcc --version
The output was (as expected):
gcc (GCC) 3.2 20020927 (prerelease)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
So I added /usr/local/gcc-3.2.3/bin to the PATH (/etc/profile), and I added
it first so that the executables for GCC 3.2.3 are found before those of GCC
Now to my remaning problem. When I try to build c++ programs I have to
specify -L /usr/local/gcc-3.2.3/lib for the program to link correctly. How
do I add /usr/local/gcc-3.2.3/lib/ to the library path? In Mandrake, I would
edit /etc/ld.so.conf but Cygwin doesn't have such a file..
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html