help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gsl] test release for GSL 2.2


From: Chen, Xianwen
Subject: Re: [Help-gsl] test release for GSL 2.2
Date: Wed, 12 Oct 2016 02:39:08 +0200

Dear Max,

I'm interested in compiling and using GSL for Windows 7. I use MINGW64
under Cygwin64.

I exported CFLAGS="-mfpmath=sse -msse2 -O2 -mthreads -DHAVE_INLINE
-DGSL_DISABLE_DEPRECATED -DGSL_RANGE_CHECK=0 -D__USE_MINGW_ANSI_STDIO=1" as
you sugested. However, when I make, it seems that it is the gcc that is
used to compile GSL.

I would like to use x86_64-w64-mingw32-gcc instead, to produce a more
native (Windows) GSL installation. Do you know how I can achieve that ?

Warm regards,
Xianwen

On Fri, Aug 26, 2016 at 10:55 PM, maxgacode <address@hidden> wrote:

> Il 25/08/2016 17:32, Patrick Alken ha scritto:
>
>> Dear all,
>>
>>   It is time to release the next version of GSL (2.2),
>>
>
>
> Windows 7 - 64 bit - MINGW64 - GCC 6.1.0
>
> Using
>
>
> CFLAGS="-mfpmath=sse -msse2 -O2 -mthreads -DHAVE_INLINE
> -DGSL_DISABLE_DEPRECATED -DGSL_RANGE_CHECK=0 -D__USE_MINGW_ANSI_STDIO=1"
>
>
> Compilation OK
> make check OK - all passed
> documentation not builded (so far) because texinfo is not installed.
>
> Please, MINGW user, note
>
> The source code in spio.c (spmatrix) is using the modifier %zu in stdio
> functions. MINGW is not supporting %zu because the used Microsoft runtime
> libray doesn't.
>
> So it is required to use
>
> -D__USE_MINGW_ANSI_STDIO=1
>
> to pass the spmatrix testing forcing the ANSI STDIO. Otherwise the related
> testing will fail!
>
> I don't know if Windows users with Visual Express are affected. As far as
> I know %zu is just supported from Express 2015 onwards (2013 is not
> supporting %zu)
>
> Hope this helps
>
> Max
>
>
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]