Mail Archives: cygwin/1998/03/30/18:38:51
From: LUCKY::AI26 "Michael Lemke, Sternwarte Bamberg, Phone: +49-951-9522216" 27-MAR-1998 12:51:59.87
To: SMTP%"khan AT xraylith DOT wisc DOT edu"
CC: AI26
Subj: Re: calling GetCommandLine from EGCS 1.0.2 and other EGCS trouble
In a message of Thu, 26 Mar 1998 21:53:03 -0600
Received on Fri, 27 Mar 1998 04:53:11 MET-1MET DST
Mumit Khan <khan AT xraylith DOT wisc DOT edu> wrote
to: Michael Lemke <michael AT bamp01 DOT sternwarte DOT uni-erlangen DOT de>
>Michael Lemke <michael AT bamp01 DOT sternwarte DOT uni-erlangen DOT de> writes:
>> On the weekend, I installed b19 with the b19.1 dll, egcs 1.0.2 from Mumit's
>> site and tried to recompile a simple program for b19 that worked fine on b18.
>
>Could you please post or email a sample code that I can test?
>
Not at the moment. But I've figured out more: B18 seems to always tack
a space at the end of the command line, also from a DOS box. B19 does
not, just like what you would expect from Unix shells. I was relying on
this space being there. As this happens also in a DOS box I guess
cygwin32[b19].dll is doing this. I also found that double quotes are
added:
BASH> a.out foo\ bar\ baz
returns literally
a.out "foo bar baz"
with GetCommandLine. Note that I didn't type the quotes. B18 then also
has that additional space at the end.
About my other question: does -Wl,--subsystem,windows not work with g77
or was I doing something wrong?
Thanks for you reply,
Michael
--
Michael Lemke
Sternwarte Bamberg, University of Erlangen-Nürnberg, Germany
(lemke AT sternwarte DOT uni-erlangen DOT de or michael AT astro DOT as DOT utexas DOT edu)
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -