help-gsl
[Top][All Lists]
Advanced

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

Re: [Help-gsl] 32 bit and 64 bit GSL co-existing


From: Vihan Pandey
Subject: Re: [Help-gsl] 32 bit and 64 bit GSL co-existing
Date: Fri, 20 Feb 2015 19:59:39 +0530

Thanks Maxime!

One more question, is it possible to compile in this way for both 32
bit and 64 bit in the same location/path :

# CFLAGS="-m32 -m64" ./configure --prefix=/my/gsl/installation;make;make install

Should I build and install them in separate locations/paths :

# CFLAGS="-m32" ./configure
--prefix=/my/gsl/32/bit/installation;make;make install

and then

# CFLAGS="-m64" ./configure
--prefix=/my/gsl/64/bit/installation;make;make install

Thanks and again!

- vihan

On 20 February 2015 at 19:33, Maxime Boissonneault
<address@hidden> wrote:
> Hi,
> This is a "problem" with the packaging system, not with GSL itself.
> Compiling GSL from source would allow you to specify whatever prefix you
> please and have both versions on your system.
>
> Maxime
>
> Le 2015-02-20 08:26, Vihan Pandey a écrit :
>>
>> Hello,
>>
>> Is it at all possible to install with binaries or compile GSL such
>> that I have both 32 bit as well as 64 bit support? I am on a 64 bit
>> system.
>>
>> I have tried package wise installation on Ubuntu 14.04 but I can
>> either have 32 bit GSL or 64 bit GSL bit not both e.g :
>>
>> # sudo apt-get install libgsl0ldbl:i386 gsl-bin:i386 libgsl0-dev:i386
>>
>> Will give me support for 32 bit packages. But I cannot compile and run
>> code for 64 bit.
>>
>> # sudo apt-get install libgsl0ldbl gsl-bin libgsl0-dev
>>
>> Will give me support for 64 bit packages. But I cannot compile and run
>> code for 32 bit.
>>
>> Ideally I would like scenario wherein both the 32 bit and 64 bit GSL
>> can co-exist on the same 64 bit machine and I can compile with
>> -I/path/to/32/bit/includes -L/path/to/32/bit/includes for building 32
>> bit binaries, -I/path/to/64/bit/includes -L/path/to/64/bit/includes
>> for building 64 bit binaries for each respected 32 bit or 64 bit
>> target.
>>
>> Any ideas?
>>
>> If any additional info is required from my side, please let me know.
>>
>> Best,
>>
>> - vihan
>>
>
>
> --
> ---------------------------------
> Maxime Boissonneault
> Analyste de calcul - Calcul Québec, Université Laval
> Ph. D. en physique
>



-- 
``My own suspicion is that the Universe is not only queerer than we
suppose, but queerer than we can suppose." - J. B. S. Haldane

``I do not feel obliged to believe that the same God who has endowed
us with senses, reason, and intellect has intended us to forgo their
use and by some other means to give us knowledge which we can attain
by them." - Galileo Galilei



reply via email to

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