Mail Archives: djgpp/1994/03/15/18:58:56
> Is there any way to generate a response file in GNU make when a variable
> is > 128 characters? For example, if I have
> OBJS = file1.c file2.c file3.c file4.c \
> ...
> file99.c
> I can't just do an "echo $(OBJS) > cmdline.tmp", since only the first 128
> characters of that command will be processed. Is there a simple solution to
> this problem?
djgpp includes "echo.exe", which is built with gcc and *does* allow
you to do exactly what you want. Specify "echo.exe" in the makefile
and hope for the best. You may have to rename echo.exe to make sure
that make doesn't pass it off to command.com.
- Raw text -