delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/18/08:53:11

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: =?windows-1252?Q?Mikael_=C5sberg?= <mikas493 AT student DOT liu DOT se>
To: cygwin AT cygwin DOT com
Message-ID: <c0cc46c0d741.c0d741c0cc46@liu.se>
Date: Wed, 18 Feb 2004 14:51:24 +0100
MIME-Version: 1.0
Subject: Built GCC 3.3.3 on Cygwin, should I use it?
X-Spam-Level:
X-Spam-Checker-Version: SpamAssassin 2.61-liu_1.6 (1.212.2.1-2003-12-09-exp) on lemuria.unit.liu.se
X-Spam-Status: No, hits=0.0 required=5.0 tests=FROM_ENDS_IN_NUMS, LIU_FROM_MATCHES_LIUSTUDENT autolearn=no version=2.61-liu_1.6

Hello, I downloaded GCC 3.3.3, built it using GCC 3.3.1 that comes
with Cygwin.
My configure line was:
$ ../gcc-3.3.3/./configure --enable-languages=c,c++ --prefix=/usr/local/gcc-3.3.3 --exec-prefix=/usr/local/gcc-3.3.3

The configure script, make and make install finsihed without any errors.

When I do: $ /usr/local/gcc-3.3.3/bin/gcc --version the output is:
gcc (GCC) 3.3.3
Copyright (C) 2003 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.

$ /usr/local/gcc-3.3.3/bin/g++ --version yields:
g++ (GCC) 3.3.3
Copyright (C) 2003 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.

When I build C++ programs using GCC 3.3.3, I specify: "-L /usr/local/gcc-3.3.3/lib/",
or else I would get errors linking.
When I build C programs, that doesn't seem to be necessary (why?).

I've tried to rebuild a number of programs I have written using GCC 3.3.3 and
every single one of them seem to work as they should. Many of them are Win32
GUI programs (written in C++), some are programs using posix functions.

So my question is: What problems can I expect if continue to use GCC 3.3.3?
Should I go back to GCC 3.3.1 or is it fine to continue to use the later 
version? Any other drawbacks of this upgrade? Any benefits? If someone would
shed some light on this I would be grateful.
I don't want to break things in Cygwin and get all kinds of weird errors
but at the same time it feels good to use the latest official gcc release.

Thanks for any replies


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019