On 7/15/03 11:59 AM, "Amit Gandhi" <[EMAIL PROTECTED]> wrote:

> simple question pertaining to the gcc fink discussion -
> how can I tell which version of gcc I am running -
> 
> amit

Just invoke gcc with the --version flag. For example, I've got gcc 3.3
installed but 3.1 as the default:

> [Watzman-iMac:~] josh% gcc2 --version
> 2.95.2
> [Watzman-iMac:~] josh% gcc3 --version
> gcc3 (GCC) 3.1 20020420 (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.
> 
> [Watzman-iMac:~] josh% gcc-3.3 --version
> gcc-3.3 (GCC) 3.3 20030304 (Apple Computer, Inc. build 1435)
> 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.
> 
> [Watzman-iMac:~] josh% gcc --version
> gcc (GCC) 3.1 20020420 (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.
> 
> [Watzman-iMac:~] josh%



-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to