Mail Archives: djgpp/2001/02/04/10:28:48
On Sun, 4 Feb 2001, April wrote:
> I am playing with an editor program, and I started making it create libs
> from .o files. During developement I show the command line I am
> shelling out to "....\ar.exe rcs libdelta.a Appver.o .... version.o"
> which works fine if I copy and paste it to the Win95 command line, but
> when shelling out, AR reports an error 'unknown option e'
>
> I am using the Win32api CreateProcess() to shell out - which is working
> fantastic for GCC compiling and linking, as well as the resource
> compiler - so it seems it is particular to AR.
I suspect that you are overflowing the 126-character limit of the DOS
command line. DJGPP programs currently don't support any method of
passing long command lines that would work with CreateProcess.
> Does AR recognize a @batch file?
All DJGPP programs support @response-file. See section 16.3 of the DJGPP
FAQ.
- Raw text -