This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc -v "\" and "/"


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@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]