Gluszczak, Glenn writes:
> Thanks for the email reference. Cygwin.dll always strips backslashes
> so I'm stuck compiling with VS, ok.
You can do a cross-compile from Cygwin to MinGW if you need Windows
semantics.
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blof
>* From: Marco Atzeri
>* To: cygwin at cygwin dot com
>* Date: Fri, 27 Nov 2015 18:08:44 +0100
>* Subject: Re: Argument parsing with gcc compiled program
>* Authentication-results: sourceware.org; auth=none
>* References: gmail dot com> <91DCAC3CB99C724EB365BB64677FBE7B
On 27/11/2015 17:55, Gluszczak, Glenn wrote:
On Fri, Nov 27, 2015 at 5:03 PM, Gluszczak, Glenn wrote:
Please look at my example again. The same program compiled with Visual Studio
does *not*
strip out the backslash whether run in cmd.exe or bash.exe. Other utilities
like Perl
do not str
>On Fri, Nov 27, 2015 at 5:03 PM, Gluszczak, Glenn wrote:
> Please look at my example again. The same program compiled with Visual
> Studio does *not*
> strip out the backslash whether run in cmd.exe or bash.exe. Other utilities
> like Perl
> do not strip out the backslash either. It is only
On Fri, Nov 27, 2015 at 5:03 PM, Gluszczak, Glenn wrote:
> Please look at my example again. The same program compiled with Visual
> Studio does *not*
> strip out the backslash whether run in cmd.exe or bash.exe. Other utilities
> like Perl
> do not strip out the backslash either. It is only
>-Original Message-
>From: Jan Nijtmans [mailto:jan.nijtm...@gmail.com]
>Sent: Friday, November 27, 2015 4:30 AM
>To: cygwin@cygwin.com
>Subject: Re: Argument parsing with gcc compiled program
>
>2015-11-26 21:30 GMT+01:00 Gluszczak, Glenn :
>> Sorry I should
2015-11-26 21:30 GMT+01:00 Gluszczak, Glenn :
> Sorry I should have specified, this is not bash as this happens with the gcc
> compiled
> program within a Command Prompt session.
>
>
> K:\>a.exe -s something "something d\:\\hello"
>
> Command-line arguments:
> argv[0] a
> argv[1] -s
> ar
Sorry I should have specified, this is not bash as this happens with the gcc
compiled
program within a Command Prompt session.
K:\>a.exe -s something "something d\:\\hello"
Command-line arguments:
argv[0] a
argv[1] -s
argv[2] something
argv[3] something d\:\hello
CL: K:\sat-mi
On 26/11/2015 21:08, Gluszczak, Glenn wrote:
For some reason when I compile a C program in gcc, double backslashes within
quotes are stripped.
But if I compile with Visual Studio this does not happen. I used a small
test program to demonstrate.
VS
c:\msvc2010_SP1\VC>a.exe -s something "somet
For some reason when I compile a C program in gcc, double backslashes within
quotes are stripped.
But if I compile with Visual Studio this does not happen. I used a small
test program to demonstrate.
VS
c:\msvc2010_SP1\VC>a.exe -s something "something d\:\\hello"
Command-line arguments:
argv[
10 matches
Mail list logo