www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2000/12/20/19:47:38

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Message-ID: <CBA53CEA6E1DD1119A9E00805F8BC06103C92BE4@eac-exch2.eac.ea.com>
From: "Sammartino, Ryan" <rsammartino AT ea DOT com>
To: "'cygwin-apps AT cygwin DOT com'" <cygwin-apps AT cygwin DOT com>
Cc: "Sammartino, Ryan" <rsammartino AT ea DOT com>
Subject: RE: Cygwin 1.1.4: unexpected "make" behaviour
Date: Wed, 20 Dec 2000 16:48:41 -0800
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)

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 AT redhat DOT com]
Sent: December 20, 2000 4:44 PM
To: cygwin-apps AT cygwin DOT com
Cc: rsammartino AT ea DOT 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 AT yahoo DOT com]
>Sent: December 20, 2000 2:46 PM
>To: Sammartino, Ryan
>Cc: cygwin-apps AT cygwin DOT com
>Subject: RE: Cygwin 1.1.4: unexpected "make" behaviour
>
>
>--- "Sammartino, Ryan" <rsammartino AT ea DOT 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 AT yahoo DOT 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 AT cygnus DOT com                        Red Hat, Inc.
http://sources.redhat.com/            http://www.redhat.com/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019