Mail Archives: djgpp/1997/03/27/14:36:12
Sean L. Palmer wrote:
>
> I have about 300 files that need to be compiled. I put them all in the
> project and do a build, and voila I get "Command line too long" in the info
> window back.
This message is produced by the DJGPP system function and can have
several reasons:
1) The length of the commandline together with the size
of your environment is bigger than your transfer buffer.
This buffer is normaly 16K (until you cnaged it manually).
But this reason I cant imagine except the names of the
object files are realy very long names.
You can check the length of the commandline when you run
RHIDE with the '-dc' switch and redirecting the output to
a file.
redir -e err rhide -dc YOUR_PROJECT
Now run the link stage (Compile/Link) and exit RHIDE.
Look at the file 'err' and see, how long the commandline
is. If it is realy longer than 16k, then you should
stubedit rhide.exe to give it a bigger transfer buffer.
2) You are using an other shell than command.com and as far as
I know, there are some limitations. Have you set the
SHELL environment variable?
Robert
--
*****************************************************************
* Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau *
* Post: Am Berg 3, D-09573 Dittmannsdorf *
* e-Mail: Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE *
* WWW: http://www.tu-chemnitz.de/~rho *
*****************************************************************
- Raw text -