Page 2 of 2

Re: DJGPP & Windows command line

Posted: Mon Jan 07, 2008 2:29 am
by AndrewAPrice
inflater wrote:Hi,
When compiling my kernel in C, I ran on one nasty problem: If the whole command line (path to GCC, GCC.EXE + all parameters) are larger than 128 characters, system refuses to execute the C compiler. Adding the parameters to a environment variable (SET gccoptions=blahblah) didn't help.

Any hints?
I switched to Cygwin and use a shell script, which is a lot easier since you can do better loops than in a batch file.