delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/03/13:38:36

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Andrea Minosu" <minosu AT sitek DOT it>
TO: "Andrew Markebo" <flognat AT flognat DOT myip DOT org>
CC: <cygwin AT cygwin DOT com>
Subject: RE: Long Command lines in makefile
Date: Tue, 3 Apr 2001 17:43:39 +0200
Message-ID: <MPBBJPPMKAFOPKCPPCJOEELNCPAA.minosu@sitek.it>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
In-Reply-To: <m366gm9h76.fsf@master.athome>
X-MDaemon-Deliver-To: cygwin AT cygwin DOT com
X-Return-Path: Minosu AT sitek DOT it

Dear Andrew,
Thank you very much for your help.

Yes I'm using gnumake that comes with cygwin.

On my co-workers machines the command works (it is the "make clean"
command), which calls the "rm" command as you can see in the below extract.
The "rm ...." line expands very long (I can see it just for a second before
Windows switches to the usual crash blue screen).
I've tryed to do something with a "for loop" so to call "rm" with a file at
a time, but it crashes in the "for $(OBJS)..." expansion.

Here it is an extract from makefile I'm using:

OBJS =  ./src/tast0mai.o \
        ./src/tats0mai.o \
        ./user/grcn0lib.o \
        ./user/grfb1lib.o \
...
...
clean:
        rm -f $(TARGET_LIB) $(DEPEND_FILES) $(OBJS) .depend

-----Original Message-----
From: flognat AT master DOT athome [mailto:flognat AT master DOT athome]On Behalf Of
Andrew Markebo
Sent: Tuesday, April 03, 2001 4:44 PM
To: Andrea Minosu
Cc: cygwin AT cygwin DOT com
Subject: Re: Long Command lines in makefile


Sounds like a problem with the make-program you use, do you use
gnumake that comes with cygwin or??

Tried to split the line, can you give us an example??

What does happen on your co-workers machines when you run this??

        /Andy


/ "Andrea Minosu" <minosu AT sitek DOT it> wrote:
| [...]
| I have a strange problem on my machine (Windows 98): when the command line
| of makefile is very long (because it uses something like $(OBJ)), then my
PC
| crashes completely (not only the cygwin windows).



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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