public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Earnie Boyd <earnie_boyd@yahoo.com>
To: Mumit Khan <khan@NanoTech.Wisc.EDU>
Cc: cygwin users <cygwin@sourceware.cygnus.com>
Subject: Re: [GCC BUG] -I switch not functioning correctly.
Date: Mon, 13 Dec 1999 08:40:00 -0000	[thread overview]
Message-ID: <19991213161528.18502.qmail@web119.yahoomail.com> (raw)

--- Mumit Khan <khan@NanoTech.Wisc.EDU> wrote:
> On Mon, 6 Dec 1999, Earnie Boyd wrote:
> 
> > This bug is present in both the Cygwin V1 CD and gcc-2.95.2.  I found this
> > trying out Mumits JNI examples.
> > 
> > Since I don't know if this is Cygwin specific or not then I haven't
> forwarded
> > this to the gcc-bugs list.
> > 
> > -- Output of make --
> > 
> > gcc  -c -I. -I/install/jdk1.1.8/include -I/install/jdk1.1.8/include/win32
> -g
> >  -Wall -O2 -v  -o invoke.o invoke.c
> 
> Ok, let's see what gcc sees. You're telling it to search directories
> /install/jdk1.1.8/include and /install/jdk1.1.8/include/win32 for
> jdk includes. So far so good.
> 
> > Reading specs from
> > /install/gcc-2.95.2/bin/../lib/gcc-lib/i686-cygwin/2.95.2/spe
> > cs
> [ ... ]
> > GNU CPP version 2.95.2 19991024 (release) (80386, BSD syntax)
> > #include "..." search starts here:
> > #include <...> search starts here:
> >  .
> > 
> /install/gcc-2.95.2/bin/../lib/gcc-lib/i686-cygwin/2.95.2/../../../../include
> > 
> >
>
/install/gcc-2.95.2/bin/../lib/gcc-lib/i686-cygwin/2.95.2/../../../../i686-cygw
> > in/include
> >  /install/gcc-2.95.2/bin/../lib/gcc-lib/i686-cygwin/2.95.2/include
> >  /usr/lib/gcc-lib/i686-cygwin/2.95.2/../../../../include
> >  /usr/lib/gcc-lib/i686-cygwin/2.95.2/../../../../i686-cygwin/include
> >  /usr/include
> 
> Now note the problem here. There are no signs of either of the jdk
> include directories!
> 
> 
> > End of search list.
> > The following default directories have been omitted from the search path:
> >  /usr/lib/gcc-lib/i686-cygwin/2.95.2/../../../../include/g++-3
> 
> Nor are they here, which would be the case normally if the paths were
> inaccessible.
> 
> I really don't have a clue, sorry. Can you do a 
>   
>   $ cat /install/jdk1.1.8/include/<SOME_FILE_NAME>

/install/jdk-1.1.8/include> cat bool.h
/*
 * @(#)bool.h   1.6 98/07/01
 *
 * Copyright 1995-1998 by Sun Microsystems, Inc.,
 * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information
 * of Sun Microsystems, Inc. ("Confidential Information").  You
 * shall not disclose such Confidential Information and shall use
 * it only in accordance with the terms of the license agreement
 * you entered into with Sun.
 */

#ifndef _BOOL_H_
#define _BOOL_H_

#undef  TRUE
#undef  FALSE

typedef enum {
    FALSE = 0,
    TRUE = 1
} bool_t;

#endif /* !_BOOL_H_ */


=====
Earnie Boyd < mailto:earnie_boyd@yahoo.com >
Cygwin Newbies, please visit
< http://www.freeyellow.com/members5/gw32/index.html >
__________________________________________________
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one place.
Yahoo! Shopping: http://shopping.yahoo.com

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

WARNING: multiple messages have this Message-ID
From: Earnie Boyd <earnie_boyd@yahoo.com>
To: Mumit Khan <khan@NanoTech.Wisc.EDU>
Cc: cygwin users <cygwin@sourceware.cygnus.com>
Subject: Re: [GCC BUG] -I switch not functioning correctly.
Date: Fri, 31 Dec 1999 13:28:00 -0000	[thread overview]
Message-ID: <19991213161528.18502.qmail@web119.yahoomail.com> (raw)
Message-ID: <19991231132800.dWHkebs7Vkszj8yUL_yjiUyDgDmttriwbCFexW1cYLw@z> (raw)

--- Mumit Khan <khan@NanoTech.Wisc.EDU> wrote:
> On Mon, 6 Dec 1999, Earnie Boyd wrote:
> 
> > This bug is present in both the Cygwin V1 CD and gcc-2.95.2.  I found this
> > trying out Mumits JNI examples.
> > 
> > Since I don't know if this is Cygwin specific or not then I haven't
> forwarded
> > this to the gcc-bugs list.
> > 
> > -- Output of make --
> > 
> > gcc  -c -I. -I/install/jdk1.1.8/include -I/install/jdk1.1.8/include/win32
> -g
> >  -Wall -O2 -v  -o invoke.o invoke.c
> 
> Ok, let's see what gcc sees. You're telling it to search directories
> /install/jdk1.1.8/include and /install/jdk1.1.8/include/win32 for
> jdk includes. So far so good.
> 
> > Reading specs from
> > /install/gcc-2.95.2/bin/../lib/gcc-lib/i686-cygwin/2.95.2/spe
> > cs
> [ ... ]
> > GNU CPP version 2.95.2 19991024 (release) (80386, BSD syntax)
> > #include "..." search starts here:
> > #include <...> search starts here:
> >  .
> > 
> /install/gcc-2.95.2/bin/../lib/gcc-lib/i686-cygwin/2.95.2/../../../../include
> > 
> >
>
/install/gcc-2.95.2/bin/../lib/gcc-lib/i686-cygwin/2.95.2/../../../../i686-cygw
> > in/include
> >  /install/gcc-2.95.2/bin/../lib/gcc-lib/i686-cygwin/2.95.2/include
> >  /usr/lib/gcc-lib/i686-cygwin/2.95.2/../../../../include
> >  /usr/lib/gcc-lib/i686-cygwin/2.95.2/../../../../i686-cygwin/include
> >  /usr/include
> 
> Now note the problem here. There are no signs of either of the jdk
> include directories!
> 
> 
> > End of search list.
> > The following default directories have been omitted from the search path:
> >  /usr/lib/gcc-lib/i686-cygwin/2.95.2/../../../../include/g++-3
> 
> Nor are they here, which would be the case normally if the paths were
> inaccessible.
> 
> I really don't have a clue, sorry. Can you do a 
>   
>   $ cat /install/jdk1.1.8/include/<SOME_FILE_NAME>

/install/jdk-1.1.8/include> cat bool.h
/*
 * @(#)bool.h   1.6 98/07/01
 *
 * Copyright 1995-1998 by Sun Microsystems, Inc.,
 * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information
 * of Sun Microsystems, Inc. ("Confidential Information").  You
 * shall not disclose such Confidential Information and shall use
 * it only in accordance with the terms of the license agreement
 * you entered into with Sun.
 */

#ifndef _BOOL_H_
#define _BOOL_H_

#undef  TRUE
#undef  FALSE

typedef enum {
    FALSE = 0,
    TRUE = 1
} bool_t;

#endif /* !_BOOL_H_ */


=====
Earnie Boyd < mailto:earnie_boyd@yahoo.com >
Cygwin Newbies, please visit
< http://www.freeyellow.com/members5/gw32/index.html >
__________________________________________________
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one place.
Yahoo! Shopping: http://shopping.yahoo.com

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

             reply	other threads:[~1999-12-13  8:40 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-13  8:40 Earnie Boyd [this message]
1999-12-31 13:28 ` Earnie Boyd
  -- strict thread matches above, loose matches on Subject: below --
1999-12-13 14:19 Earnie Boyd
1999-12-13 15:55 ` Mumit Khan
1999-12-13 16:19   ` Chris Faylor
1999-12-13 17:07     ` Mumit Khan
1999-12-13 17:20       ` Chris Faylor
1999-12-31 13:28         ` Chris Faylor
1999-12-31 13:28       ` Mumit Khan
1999-12-31 13:28     ` Chris Faylor
1999-12-31 13:28   ` Mumit Khan
1999-12-31 13:28 ` Earnie Boyd
1999-12-06 14:19 Earnie Boyd
1999-12-11 22:25 ` Mumit Khan
1999-12-31 13:28   ` Mumit Khan
1999-12-31 13:28 ` Earnie Boyd

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=19991213161528.18502.qmail@web119.yahoomail.com \
    --to=earnie_boyd@yahoo.com \
    --cc=cygwin@sourceware.cygnus.com \
    --cc=khan@NanoTech.Wisc.EDU \
    /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).