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: Weird behavior when using "-I" with gcc-2.95.2


On Tue, 25 Apr 2000, Fontenot Larry A DLVA wrote:

> Attached is the requested bug.txt.  It looks as though the default search
> paths are still valid.  And everything works just fine until I add a "-I
> anypath".  The only way to get the compiler to work properly at that point
> is to provide both "-I /usr/i686-pc-cygwin" and "-I /usr/include/g++-3".

Thanks for the information. However, I don't see anything wrong with
your setup, so we'll just have to do some experiments and track it 
down.

I noticed that you've set up the mount table to mount the various
drives as /<drive_letter>, which should be fine. Also, PWD is set 
to /i/CPP/hello, which means you're working on a remote drive at 
this point, and your "home" directory is also on a server ie remote 
drive /h.

Could you please do the following -- run the same testcase on a local
drive and see if the problem is repeatable. I'd like to remove as many
variables as possible, and that may help tracking this down. As you
can imagine, lots of use GCC and we don't see this problem.

I think the `invalid argument' is simply a misleading error message,
and the real error is still lurking in there. The final experiment
will be to run the compilation under `strace', but that's going to
generate a *huge* log file and I'm trying to avoid that.

Regards,
Mumit



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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