This is the mail archive of the cygwin-apps@sources.redhat.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: Cygwin 1.1.4: unexpected "make" behaviour


If you look at a slightly larger slice of the code
than diff -c provides, you'll see that this whole thing
is wrapped in a "#ifdef GCC_IS_NATIVE" directive, which is
set near the top of default.c:

/* Define GCC_IS_NATIVE if gcc is the native development environment on
   your system (gcc/bison/flex vs cc/yacc/lex).  */
/* CYGNUS LOCAL: or __CYGWIN__ */
#if defined(__MSDOS__) || defined(__CYGWIN__)
#define GCC_IS_NATIVE
#endif


so it does seem to be a "cygnus only" thing.




-----Original Message-----
From: Christopher Faylor [mailto:cgf@redhat.com]
Sent: December 20, 2000 4:44 PM
To: cygwin-apps@cygwin.com
Cc: rsammartino@ea.com
Subject: Re: Cygwin 1.1.4: unexpected "make" behaviour


If this is really the problem you should send your fix to the make
maintainer.
It's obviously not a cygwin bug.

cgf

On Wed, Dec 20, 2000 at 04:00:41PM -0800, Sammartino, Ryan wrote:
>
>This seems to do the trick.  This patch is against the make-3.79.1-2 source
>tarball:
>
>
>*** default.c.orig      Wed Dec 20 15:54:08 2000
>--- default.c   Wed Dec 20 15:55:52 2000
>***************
>*** 388,394 ****
>  # ifdef __MSDOS__
>      "CXX", "gpp",     /* g++ is an invalid name on MSDOS */
>  # else
>!     "CXX", "gcc",
>  # endif /* __MSDOS__ */
>  #else
>      "CC", "cc",
>--- 388,395 ----
>  # ifdef __MSDOS__
>      "CXX", "gpp",     /* g++ is an invalid name on MSDOS */
>  # else
>!       /* "CXX", "gcc", */
>!     "CXX", "g++",     /* RTS: make manual says "g++" should be the
default
>*/
>  # endif /* __MSDOS__ */
>  #else
>      "CC", "cc",
>
>
>
>-----Original Message-----
>From: Earnie Boyd [mailto:earnie_boyd@yahoo.com]
>Sent: December 20, 2000 2:46 PM
>To: Sammartino, Ryan
>Cc: cygwin-apps@cygwin.com
>Subject: RE: Cygwin 1.1.4: unexpected "make" behaviour
>
>
>--- "Sammartino, Ryan" <rsammartino@ea.com> wrote:
>> Heh.
>> 
>> Yes, I figured that out :)
>> 
>> But it would be nice if Cygwin make followed the defaults
>> as laid out in the make manual 
>> (http://www.gnu.org/manual/make/html_chapter/make_10.html#IDX774)
>> 
>
>Good point.  Care to provide a package patch or release?  List, is there a
>make
>package maintainer assigned?  If not, Ryan, would you care to become that?
>
>Cheers,
>
>=====
>Earnie Boyd
>mailto:earnie_boyd@yahoo.com
>
>---         <http://earniesystems.safeshopper.com>         ---
>--- Cygwin: POSIX on Windows <http://gw32.freeyellow.com/> ---
>---   Minimalist GNU for Windows <http://www.mingw.org/>   ---
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! Shopping - Thousands of Stores. Millions of Products.
>http://shopping.yahoo.com/

-- 
cgf@cygnus.com                        Red Hat, Inc.
http://sources.redhat.com/            http://www.redhat.com/

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