This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: %Ld ? / regexps / platform optim.
- To: cygwin <cygwin at sourceware dot cygnus dot com>
- Subject: Re: %Ld ? / regexps / platform optim.
- From: Mumit Khan <khan at nanotech dot wisc dot EDU>
- Date: Thu, 30 Sep 1999 16:07:25 -0500
Alain CULOS <Alain.EnnisZ@eircom.net> writes:
>
> 1/
> I was wondering what the situation was regarding extra GNU features and
> GCC
> 2.95. As I tried the printf with long long ints and it printed them as if the
> y
> were plain long ints (using %Ld rather than %ld).
> Maybe this is a blattant FAQ but I did not find it (might it be a
> non-compatibility switch ?).
Please be explicit as to whether you're using Cygwin or not. Also, what
exactly do you mean by "extra GNU features"? Cygwin doesn't use GNU C
library, so the issue is moot as far as library features go.
> 2/
> Also I tried to use regexps to no avail (in C) following some win help for
> libc
> (reference manual for version 1.07 Beta of the GNU C Library) but I was not
> able
> to find (that was using egcs 1.1 mingw32).
What regexp? GNU C library and Mingw32 are not related in any way, so
unless you're talking about ANSI/ISO features, you can't expect it to
match up.
> 3/
> Also I was wondering why the cygnus dist. shows 586 and the mingw32
> shows 386.
> Is the mingw32 dist less optimised for 586s ?
> How should I go about making one for a 686 (PPro) ?
It's just a convention, without any consequence; just ignore it. If you
want to produce code for 686, then see the GCC manual on what switches
you need to provide (specifically look at the -mcpu and -march options).
Regards,
Mumit
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com