Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "Paul Garceau" Organization: New Dawn Productions To: cygwin AT cygwin DOT com Date: Fri, 22 Dec 2000 15:44:52 -0800 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Possible problem: gcc search path Reply-to: Paul Garceau Message-ID: <3A4376F4.9794.50835B@localhost> In-reply-to: <3A43BA33.8E575402@itginc.com> X-mailer: Pegasus Mail for Win32 (v3.12c) 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 AT 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