Pb with GNUMake

2003-01-17 Thread patrice . boyron

Dear support,


We have bought your CD-ROM "GNU Software for MS-Windows and MS-DOS".

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

We have found the following troubles, and I suspect these are technical limitations. Please, could you confirm or infirm this, and how to workaround it.
        1/ Executing the given command:
                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
           Causes the following message:
                make.exe: ***[Main.o] Error -1
           Although the same command executed directly under DOS prompt is OK.

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


Thank you for your help to workaround this.
Best regards.
Patrice.
                                    \\\-|-///
                                    (  o o  )
--oOOo-(_)-oOOo--
Patrice BOYRON..Philips Semiconductors Sophia SAS
SoC Senior SW Engineer..BU Mobile Com./BL Cellular Infrastructure
..505, Route des Lucioles
Phone :        +33 (0)4 92 96 12 8206560 Valbonne - Sophia Antipolis
Fax       :        +33 (0)4 92 96 12 72...FRANCE
Email   :        [EMAIL PROTECTED]
                                    .oooO               
--- (   )-- Oooo. ---
                                     \ (    (   )___
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make



Re: Pb with GNUMake

2003-01-17 Thread Paul D. Smith
%% [EMAIL PROTECTED] 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 <[EMAIL PROTECTED]>  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


___
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make