make-w32
[Top][All Lists]
Advanced

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

Re: problem using make 3.80 with Window NT4 OS


From: patrice . boyron
Subject: Re: problem using make 3.80 with Window NT4 OS
Date: Fri, 7 Feb 2003 14:24:28 +0100


Hello Earnie,


Thanks for your answer. It was very helpful.

In fact, the problem is as you suggest (point number 3). There is an sh.exe in my PATH and it can be shows with the following example.
Concerning my compiler (pl16cc), it returns 0 if it succeed and concerning DOS command under Windows NT, there is way to configure memory usage as Windows9x (e.g. /e size in the config.sys file).

With the sh.exe file presence, the hereafter sequence failed at the 9th command. Without, it succeed.
#   Clean generated files
#------------------------
clean :
        @echo +++Cleaning current directory ...
        rm -f *.o
        rm -f *.old
        rm -f *.a
        rm -f *.tmp
        rm -f *.lst
        rm -f *.lnk
        rm -f *.lib
        rm -f *.srt
        rm -f *.lin

But now, I have got a new problem. I can't realise the following sequence (which works almost fine with the sh.exe file in my PATH; see previous e-mail).
#------------------------------------------------------------------
#   Generate lnk linker locator file according to $(TARGETOPT)
#        (Emulation or Simulation).
#------------------------------------------------------------------
$(APP_NAME).lnk : Makefile
        @echo "+++Generating linker file ..."
        @echo "objects:" > Temp1.tmp
        for obj in '$(OBJS)' ; do echo "$$obj" >> Temp1.tmp ; done
        @echo "libraries:" >> Temp1.tmp
        @for lib in '$(LIBS)' ; do echo "$$lib" >> Temp1.tmp ; done

The following error occurs :
        obj was unexpected at this time.
        make: *** [IDCS_TST.lnk] Error 255

It means that the echo command does not work as expected :-((((. Thus, I used the bash.exe file in my PATH. Did you have any idea ?

In addition, should I compile all the GNU executables files (delivered with the GNU CD-ROM) under the win32 target or not ?

Thanks for your help.

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 82............................06560 Valbonne - Sophia Antipolis
Fax       :        +33 (0)4 92 96 12 72.......................................................FRANCE
Email   :        address@hidden
                                   .oooO              
----------------------------------- (   )-- Oooo. -------------------------------------------
                                    \ (    (   )








Earnie Boyd <address@hidden>

01/23/03 10:17 PM
Please respond to make-w32

       
        To:        Patrice Boyron/SOP/SC/address@hidden
        cc:        address@hidden
        Subject:        Re: problem using make 3.80 with Window NT4 OS

        Classification:        




A problem with

1) your compiler, pl16cc
2) your environment, how much physical memory and virtual memory?
3) your ``shell'', what value does SHELL have?  Do you perhaps have an
sh.exe in your PATH?

Earnie.

address@hidden wrote:
> Dear Support,
>
>
> I would like to have some help from you about the GNU make 3.80 under
> Windows.
>
> When executing this part of Makefile :
>         # Dependency update target
>         #-------------------------
>         depend:
>                 @chmod a-r makefile*
>                 @cp makefile makefile.old
>                 @sed '/^# Dependencies follow/,$$d' makefile.old >
> makefile
>                 @echo "# Dependencies follow" >> makefile
>                 $(CC) -E -M $(CINC) $(SOURCES) >> makefile
>                 @echo "# IF YOU PUT STUFF HERE IT WILL GET BLASTED" >>
> makefile
>                 @echo "# see depend: above" >> makefile
> where CC = pl16cc (which is a DSP compiler)
>
> the following error message occurs:
>         pl16cc -c -mdata-sec-.DSECT,mydata  -E -M -ID:\palm16\include -I.
> -ID:\Philips\Idk\Shl\Include D:\palm16\libs\Crt0.c D:\palm16\libs\Crtn.c
> Main.c  >> makefile
>         C:\TEMP\make3145.sh D:/palm16/pl16cc.exe: Not enough memory
> (ENOMEM)
>         make: *** [depend] Error 126
>
> My trouble is that if I execute directly this command it works fine ?!??!
>
> Do you have any idea about where does it come from ?
>
> Thank you for your help.
>
> 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 82............................06560 Valbonne -
> Sophia Antipolis
> Fax       :     +33 (0)4 92 96 12
> 72.......................................................FRANCE
> Email   :       address@hidden
>                                     .oooO
> ----------------------------------- (   )-- Oooo.
> -------------------------------------------
>                                      \ (    (   )
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Make-w32 mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/make-w32




reply via email to

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