Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <001401c31492$9428fa00$70eaec82@mindcooler> From: =?iso-8859-1?Q?Mikael_=C5sberg?= To: Subject: Installing GCC 3.2.3 Date: Wed, 7 May 2003 14:17:07 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Status: No, hits=-0.1 required=5.0 tests=FROM_ENDS_IN_NUMS,LIU_FROM_MATCHES_LIUSTUDENT version=2.52-liu_1.4 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.52-liu_1.4 (1.174.2.8-2003-03-24-exp) 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 ocal/gcc-3.2.3/ $ make $ 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 3.2. 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.. / Mikael -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/