bugGNU Scientific Library - Bugs: bug #39991, build issues on windows

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #39991: build issues on windows

Submitter:  Patrick Alken <psa>
Submitted:  Mon 09 Sep 2013 05:56:47 PM UTC
   
 
Category:  Build Severity:  3 - Normal
Operating System:  Status:  Fixed
Assigned to:  None Open/Closed:  Closed
Release: 

Mon 09 Sep 2013 05:56:47 PM UTC, original submission:  


> As you may know, I provide build files that allow GSL to be built with
> the Microsoft and the Intel compilers on Windows.   To do this requires
> only a small number of changes to the GSL source code as follows:
>
> In ieee-utils/env.c:
>
> void
> gsl_ieee_env_setup (void)
> {
>   const char * p = getenv("GSL_IEEE_MODE") ;
>
>   int precision = 0, rounding = 0, exception_mask = 0 ;
>
>   int comma = 0 ;
>
> #if defined( _MSC_VER )    /* BRG */
>
>     extern const char *fp_env_string;
>     p = fp_env_string;
>
> #else
>
>   if (p == 0)  /* GSL_IEEE_MODE environment variable is not set */
>     return ;
>
>   if (p == '\0') / GSL_IEEE_MODE environment variable is empty */
>     return ;
>
> #endif
>   ...
>
> and early in matrix/test.c and vector/test.c:
>
> #if defined( _MSC_VER ) && defined( GSL_DLL )    /* BRG */
> #undef inline
> #define inline __forceinline
> #endif
>
> With these changes it is possible to build GSL on Windows using the
> Microsoft and Intel compilers with no
> further source code changes (I do also add one file to read the floating
> point control word).
>
> Although I recognise that GSL on WIndows is not a priority, there is
> nevertheless a substantial user community on this platform, some of whom
> do make ongoing contributions to GSL.
>
> Whilst writing I would like to thank Rhys for helping me get bzr on
> windows working.  The effort has paid off since it is now working very well.

>    with my regards,
>
>         Brian Gladman
>
>

My apologies, in describing these changes I forgot my punchline.

Would it be possible to have these changes incorporated in the GSL
source code?

    Brian Gladman


Patrick Alken <psa>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gladman (Updated the item)
  • -email is unavailable- added by psa (Submitted the item)
  •  

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-10-01 gladman StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code