delorie.com/archives/browse.cgi | search |
Message-ID: | <3A7D6E7D.A26C95B@user.rose.com> |
From: | April <awhite AT user DOT rose DOT com> |
X-Mailer: | Mozilla 4.7 [en]C-CCK-MCD {TLC;RETAIL} (Win95; U) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | shelling out to run 'ar' |
Lines: | 20 |
Date: | Sun, 04 Feb 2001 10:00:13 -0500 |
NNTP-Posting-Host: | 205.189.215.7 |
X-Trace: | client 981298580 205.189.215.7 (Sun, 04 Feb 2001 09:56:20 EST) |
NNTP-Posting-Date: | Sun, 04 Feb 2001 09:56:20 EST |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
I'm using rsxntdj 1.5 with Reading specs from c:/tools/gnu/rsxntdj/lib/specs gcc driver version 2.95.2 19991024 (release) executing gcc version 2.8.1 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. Any thoughts? Does AR recognize a @batch file? Thanks. April
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |