Mail Archives: djgpp/1994/03/16/08:56:51
>>>>> "Mark" == Mark Wright <markwr%d564s1.dot.state.mn.us> writes:
Mark> Is there any way to generate a response file in GNU make
Mark> when a variable is > 128 characters? For example, if I have
Mark> OBJS = file1.c file2.c file3.c file4.c \ ... file99.c I
Mark> can't just do an "echo $(OBJS) > cmdline.tmp", since only
Mark> the first 128 characters of that command will be processed.
Mark> Is there a simple solution to this problem?
This is taken care of by the latest (3.70) port of the gnu make. I use
it all the time with very large OBJS lists and for the
compiler,linker,ar, and other programs that it recognizes, it will
handle it ok. No need to change the unix makefiles. I used use the
Borland make from my bcc3.0, and split the OBJ lists into one line
chunks, and write out response files. But with this 3.70 port, I do not
worry about long lines in makefiles. Thanks to the people involved in
creating this port.
Osman
- Raw text -