public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Troy Noble <troy.noble@channelpoint.com>
To: "'Liu Wang'" <Wang@sigprowireless.com>,
	Troy Noble <troy.noble@channelpoint.com>
Cc: "'cygwin@cygwin.com'" <cygwin@cygwin.com>
Subject: RE: help!
Date: Wed, 15 Aug 2001 09:52:00 -0000	[thread overview]
Message-ID: <8F23E55D511AD5119A6800D0B76FDDE1CA3030@cpex3.channelpoint.com> (raw)

gcc is doing the right thing.  you don't want
gcc to be trying to search for includes in /usr.
It is trying to include from /usr/include
as is proper, in other words.

> ----------------------------------------------------
> $mount
> c:\cygwin\usr\include on /usr type user <textmode>
> c:\cygwin\usr\include on /lib type user <textmode>
> C:\cygwin\bin on /usr/bin type system <binmode>
> C:\cygwin\bin on /usr/lib type system <binmode>
> C:\cygwin on / type system <binmode>
> c: on /cygdrive/c type user <binmode, noumount>
> s: on /cygdrive/s type user <binmode, noumount>
> u: on /cygdrive/u type user <binmode, noumount>
> -----------------------------------------------------

Your mount points are wrong.  Did you change them
at all?  That doesn't look like the standard
setup that cygwin's setup.exe creates.

Specifically, based on the mount list you sent,
if you do the following I would think it would
start working:

$ cd /bin
$ umount /usr
$ umount /lib
$ umount /usr/lib
$ mount C:\\cygwin\\lib /usr/lib
$ mount
C:\cygwin\bin on /usr/bin type system <binmode>
C:\cygwin\lib on /usr/lib type system <binmode>
C:\cygwin on / type system <binmode>
c: on /cygdrive/c type user <binmode, noumount>
s: on /cygdrive/s type user <binmode, noumount>
u: on /cygdrive/u type user <binmode, noumount>

Then /usr/include will map to c:\cygwin\usr\include
and /usr/lib will map to c:\cygwin\lib
as it should.  And your problems should go away.

Or re-run setup so it can re-create your mount points
correctly.  Which is probably the safest bet all
the way around.  And don't change the mounts
that cygwin creates.  And don't add new ones
like /usr unless you are really sure it is in
your best interest ;->

If setup is creating the mount points incorrectly
as you've shown below, please let the list know
because that might be a bug.

Troy

-----Original Message-----
From: Liu Wang [ mailto:Wang@sigprowireless.com ]
Sent: Wednesday, August 15, 2001 9:38 AM
To: 'Troy Noble'
Subject: RE: help!


Dear Troy Noble,

Thanks for your so kind help.

My mount points look like the following:

----------------------------------------------------
$mount
c:\cygwin\usr\include on /usr type user <textmode>
c:\cygwin\usr\include on /lib type user <textmode>
C:\cygwin\bin on /usr/bin type system <binmode>
C:\cygwin\bin on /usr/lib type system <binmode>
C:\cygwin on / type system <binmode>
c: on /cygdrive/c type user <binmode, noumount>
s: on /cygdrive/s type user <binmode, noumount>
u: on /cygdrive/u type user <binmode, noumount>
-----------------------------------------------------

I tried "gcc --verbose hello.c -o hello" and found the
following:
------------------------------------------------------
/usr/lib/gcc-lib/i686-pc-cygwin/w.95.3-5/cpp0.exe ....
/usr/local/include -idirafter /usr/include -idirafter 
/usr/include/w32api /cygdrive/c/hello/hello.c ...
------------------------------------------------------


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

             reply	other threads:[~2001-08-15  9:52 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-15  9:52 Troy Noble [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-10-26  8:35 Help! Tomas Ukkonen
2008-01-17 15:59 help!!!! octavian andrei
2008-01-17 18:45 ` help!!!! Larry Hall (Cygwin)
2008-01-17 19:04   ` help!!!! Marc/MDPI314
2008-01-17 19:36     ` help!!!! Dave Korn
2007-03-16 23:08 HELP!!!!!!!!!!!! Curt
2007-03-16 23:55 ` HELP!!!!!!!!!!!! Larry Hall (Cygwin)
2003-11-18 22:02 HELP! Philip Kamara
     [not found] <20030606212620.13285.qmail@web80512.mail.yahoo.com>
2003-06-09 11:55 ` help! Jason Tishler
2003-03-24 16:14 help!! lhall
2003-03-24 11:41 help!! Sacri Acuyo
2002-05-25  3:30 Help!!! Baloo Brahm
2002-04-25 13:59 HELP! Heribert Dahms
2002-04-27  4:14 ` HELP! Dave Trollope
2002-04-24 13:31 1.3.10 memcmp() bug C. J.
2002-04-24 23:44 ` HELP! Dave Trollope
2002-04-08 15:56 Help! Rhomer L Oliveira Jr
2002-04-08 16:14 ` Help! Larry Hall (RFK Partners, Inc)
2002-01-01 15:38 HELP !! Marios Karagiannopoulos
2002-01-01 16:36 ` Tim Prince
2002-01-01 16:38   ` Christopher Faylor
2001-10-28  6:48 HELP!!! Sascha Hoeche
2001-10-28  7:27 ` HELP!!! Gerrit P. Haase
2001-08-15  7:30 help! Troy Noble
2001-08-15  7:22 help! Liu Wang
     [not found] <990176609.30786.ezmlm@sources.redhat.com>
2001-05-18  2:09 ` HELP! Abhishek Gupta
2001-05-18  6:02   ` HELP! Earnie Boyd
2001-02-16  2:33 Help! Joop van Gent
2001-02-16  4:13 ` Help! Corinna Vinschen
2000-10-19 22:32 Help! streetstories
2000-10-20  9:01 ` Help! DJ Delorie
2000-10-03 15:31 Help! Laurence F. Wood
2000-10-03 16:06 ` Help! Erdely, Michael
2000-10-03 17:19   ` Help! Chris Faylor
2000-10-05  1:46     ` Help! Laurence F. Wood
2000-09-28 20:22 HELP!!! MustangLyf
2000-09-28 20:29 ` HELP!!! Chris Faylor
2000-08-28 10:14 HELP!!! Earnie Boyd
2000-08-28  9:24 HELP!!! Peter Pendlebury
2000-05-30 10:56 help!! Parker, Ron
2000-05-28  5:22 help!! Shxin YU
1999-12-27 15:46 Help! Darin S. Ramzinski
1999-12-27 16:56 ` Help! Christopher Faylor
1999-12-31 13:28   ` Help! Christopher Faylor
1999-12-31 13:28 ` Help! Darin S. Ramzinski
     [not found] <382D5EDA.A2961B62@unavarra.es>
1999-11-13 16:44 ` Help! Suhaib M. Siddiqi
1999-11-30 23:39   ` Help! Suhaib M. Siddiqi
1999-10-12  5:32 HELP!!!! N8TM
1999-10-31 19:54 ` HELP!!!! N8TM
1999-10-12  5:16 HELP!!!! Earnie Boyd
1999-10-31 19:54 ` HELP!!!! Earnie Boyd
1999-10-11 23:21 HELP!!!! FallenAngel
1999-10-31 19:54 ` HELP!!!! FallenAngel
1999-01-31 23:52 HELP !!! JPhelps
1999-01-31 23:52 ` Heinz-Juergen Oertel
1998-02-19 14:40 Help! "Zow" Terry Brugger
1998-02-18  3:00 Help! Amy Wells

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8F23E55D511AD5119A6800D0B76FDDE1CA3030@cpex3.channelpoint.com \
    --to=troy.noble@channelpoint.com \
    --cc=Wang@sigprowireless.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).