Subject: Re: gcc -v "\" and "/"
From: [email-masked] (Bizzaro)

2 Nov 1997 17:39:44 -0800
Message-ID: <[email-masked]>
References: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: GNU Win 32 <[email-masked]>

Pasa Guglielmo wrote:
> 
> I noticed that when asking gcc to display its version
> it answers telling the directory where it looks for specs
> as
> /gnuwin32/b18/.../gcc-lib\$gccversion\specs
> 
> why does it use "\" around $gccversion instead of "/".
> It uses the same conventions for libs and headers.
> 
> Isn't it uncoherent. it should always use "/" or always "\"(the first
> is better!)

What is your GCC_EXEC_PREFIX set to?  Betchya it use /s.

Here's what I get:
18:55:17:~> gcc -v
Reading specs from
G:\Dev\GnuWin\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32\cygnus-2.7.2-970404\specs
gcc version cygnus-2.7.2-970404
18:56:06:~> echo $GCC_EXEC_PREFIX
G:\Dev\GnuWin\H-i386-cygwin32\lib\gcc-lib\
-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".