www.delorie.com/djgpp/faq/command-line/redir.html   search  
I use Make to compile with Gcc, but gcc gets only the first 127 characters of its command line. Didn't you just explain in so many words that invoking a djgpp program (gcc) from another djgpp program (make) can safely pass up to 1800 characters of command-line arguments using the !proxy method?

Check your Makefile for any SHELL= statements, or for commands which include pipe or redirection characters like >, |, etc. If make sees any such statements, it will invoke command.com to run gcc, and command.com can't pass more than 127 characters to gcc. To work around, comment-out the SHELL= line; if you need such a variable, pass it on the make command line instead. And change your commands to work without redirection/pipe characters.


  prev next   webmaster     delorie software   privacy  
  Copyright © 1995     Updated Feb 1995