bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pb with GNUMake


From: Paul D. Smith
Subject: Re: Pb with GNUMake
Date: Fri, 17 Jan 2003 11:13:02 -0500

%% address@hidden writes:

  pb> Currently, I'm trying to port my Makefile written from NMake to GnuMake
  pb> (V3.79.1.) using Windows NT system (and Windows 2000 later). 

  pb> We have found the following troubles, and I suspect these are technical
  pb> limitations. Please, could you confirm or infirm this, and how to
  pb> workaround it. 

  pb> 1/ Executing the given command: 
  pb>      pl16cc -c -mdata-sec-.DSECT,mydata  -mfile-io -fcall-used-r0 
-fcall-used-r1  -O0 -g3 -Wall -emul -ID:\palm16\include -I. 
-ID:\Philips\Idk\Shl\Include Main.c -o Main.o 
  pb>            Causes the following message: 
  pb>                 make.exe: ***[Main.o] Error -1 

  pb> Although the same command executed directly under DOS prompt
  pb> is OK. 

Make uses the exit code of the programs it runs to decide whether the
command succeeded or not.  Standard behavior is that a successful
completion exits with a 0 exit code, and any other exit code is an
error.

Your program above is exiting with a -1, so make thinks it failed.

  pb> 2/ When using a pathname or a filename exeeding 8.3 notation
  pb> causes an error like file not found

To me this sounds like you are using the DOS version of GNU make.
Please try running a version of make built specifically for Windows (the
W32 platform).

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist




reply via email to

[Prev in Thread] Current Thread [Next in Thread]