delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/11/02/17:39:44

From: kunglao AT prairienet DOT org (Bizzaro)
Subject: Re: gcc -v "\" and "/"
2 Nov 1997 17:39:44 -0800 :
Message-ID: <345D217D.C6956A89.cygnus.gnu-win32@prairienet.org>
References: <345D0952 DOT F14F94A AT omedia DOT ch>
Mime-Version: 1.0
To: GNU Win 32 <gnu-win32 AT cygnus DOT com>

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
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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