delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/10/11/13:33:35

Date: Mon, 11 Oct 1993 13:14:26 -0400
From: davis AT amy DOT tch DOT harvard DOT edu ("John E. Davis")
To: kunst AT prl DOT philips DOT nl
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: gcc call too long (>128)
Reply-To: davis AT pacific DOT mps DOT ohio-state DOT edu (John E. Davis)

>> It would also be nice if files with .o extension were expanded to a .obj
>> extension.   

>Why ? GCC has knowledge only of .o files, not .obj files.

True, but I was also thinking about using the hacked make for BCC as well.

>prog.lnk: $(OBJS)
>        -del prog.lnk
>        for %o in (*.o) do echo %o >>prog.lnk   # MS-DOS batch language

This will work fine on DOS.  However, I also want the EXACT same makefile to
work on my Unix systems as well.   Basically, I want a make for MSDOS that
understands a Unix makefile and interprets it accordingly.  Of course, this is
impossible when the makefile calls other Unix specific utilities (awk, sed,
etc...).  However, I would be happy with just the basic functionality.

--John

- Raw text -


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