delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Message-ID: | <00ed01bf4d9d$a1f22b30$0100000a@dualbeast> |
From: | "Andy Hare" <andy AT hare DOT u-net DOT com> |
To: | "Sourceware Mail List" <cygwin AT sourceware DOT cygnus DOT com> |
References: | <004b01bf4cd6$89533ff0$0100000a AT dualbeast> |
Subject: | Re: Problem with make and shells |
Date: | Thu, 23 Dec 1999 23:29:49 -0000 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook Express 5.00.2314.1300 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2314.1300 |
Sorry Guys, what a stupid mistake. Removing the PATH= part and the problem has gone away. Cheers for the help. DOH!!! Andy Hare ----- Original Message ----- From: Andy Hare <andy AT hare DOT u-net DOT com> To: <cygwin AT sourceware DOT cygnus DOT com> Sent: Wednesday, December 22, 1999 11:44 PM Subject: Problem with make and shells > Hi, > I am running b20.1 under Nt and win95. I have a makefile that calls > itself to make different targets. However, it produces a command not found > error when it tries to run the gcc. Actually as this is cross compiler > system the actual gcc being run is called arm-elf-gcc.exe and it is held in > another directory that is on the path. If the makefile is modified such that > it does not call make then the gcc is found and all is ok. > > Below is the output of the command: > > bash-2.02$ make angel > make ledblink.bin PATH=angel_obj OBJ=angel_obj/ DEBUG="AT91_DEBUG_ANGEL=1" > make[1]: Entering directory `/c/cygnus/xgcc-arm/eb01/examples/led_blink' > arm-elf-gcc.exe -DAT91M40400=1 -DAT91EB01=1 -g -c > ../../library/init/in_main.c - > oangel_obj/in_main.o > make[1]: arm-elf-gcc.exe: Command not found > make[1]: *** [angel_obj/in_main.o] Error 127 > make[1]: Leaving directory `/c/cygnus/xgcc-arm/eb01/examples/led_blink' > make: *** [angel] Error 2 > bash-2.02$ > > Is this a standard problem and if so how do I get round it. > > I really need the ability to have multiple targets in the one makefile that > use different object file directories, hence the requrement for the make > call. > > Andy Hare > > > -- > Want to unsubscribe from this list? > Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com > > > -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |