public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Possible problem: gcc search path
@ 2000-12-22 12:27 Joseph Heled
  2000-12-22 15:45 ` Paul Garceau
  0 siblings, 1 reply; 2+ messages in thread
From: Joseph Heled @ 2000-12-22 12:27 UTC (permalink / raw)
  To: cygwin; +Cc: James M Stern (7955) 640

Hi,

When I compile using '/bin/g++ -V2.95.2-5 ...' I get
gcc: file path prefix `/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-5/' never used

This is because g++ uses a different spec path than when using a plain g++.

I am not sure if this is a cygwin issue or a gcc one, but this behaviour is
certainly surprizing:

joseph@HANSOLO ~/mm40/tests/auto_suite/DATA
$ /bin/g++ -V2.95.2-5 -v
Reading specs from /bin/../lib/gcc-lib/i686-pc-cygwin/2.95.2-5/specs
gcc version 2.95.2-5 19991024 (cygwin experimental)
g++: No input files

joseph@HANSOLO ~/mm40/tests/auto_suite/DATA
$ g++ -V2.95.2-5 -v
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-5/specs
gcc version 2.95.2-5 19991024 (cygwin experimental)
g++: No input files



-Joseph

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Possible problem: gcc search path
  2000-12-22 12:27 Possible problem: gcc search path Joseph Heled
@ 2000-12-22 15:45 ` Paul Garceau
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Garceau @ 2000-12-22 15:45 UTC (permalink / raw)
  To: cygwin

Hi folks,

On 22 Dec 2000, at 12:31, the Illustrious Joseph Heled wrote:

> 
> Hi,
> 
> When I compile using '/bin/g++ -V2.95.2-5 ...' I get
> gcc: file path prefix `/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-5/'
> never used
> 
> This is because g++ uses a different spec path than when using a
> plain g++.
> 
> I am not sure if this is a cygwin issue or a gcc one, but this
> behaviour is certainly surprizing:
> 
> joseph@HANSOLO ~/mm40/tests/auto_suite/DATA
> $ /bin/g++ -V2.95.2-5 -v
> Reading specs from
> /bin/../lib/gcc-lib/i686-pc-cygwin/2.95.2-5/specs gcc version
> 2.95.2-5 19991024 (cygwin experimental) g++: No input files

	I just updated my Cygwin distribution last night.

	Hmm, there aren't any NT4 shortcuts that I can see...(yes, NT4 
can handle shortcuts in much the same way that Unix handles 
certain types of Symlinks.  Typically these shortcuts are 
postfixed with ".lnk".  Win9x and WinME, afaik, are incapable of 
handling such things, even though they have a ".lnk" postfix 
available).

Under Bash:

	I too have noticed, when doing "gcc -v" that the gcc reference 
used is set to usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-5/specs.

	There is something that looks like a symlink, but it appears to 
be invalid (in other words, I can not run "ls" on the link from 
Bash to get the listing of the subsequent subdirectories, such 
as gcc-lib).  Are the symlinks I am seeing only "soft" links?

	When running "g++ -v" a similar phenomenon occurs.

	Peace,

		Paul G.


Nothing real can be threatened.
    Nothing unreal exists.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-12-22 15:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-22 12:27 Possible problem: gcc search path Joseph Heled
2000-12-22 15:45 ` Paul Garceau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).