bug-gsl
[Top][All Lists]
Advanced

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

Re: [Bug-gsl] gsl to arm


From: Sergio Valcarcel
Subject: Re: [Bug-gsl] gsl to arm
Date: Tue, 20 Sep 2011 19:29:17 +0200

Hi Shienquiang,

First of all, I assume you have some arm-none-eabi toolchain. If not, either
you can follow this link to build your own for 64bit machines:

http://gaps.ssr.upm.es/images/sergio/How_to_set_TinyOS-2-1-1_and_imote2_toolchain_in_Ubuntu_10-10_intel_64bits.pdf

Or you can get these installation packages we built:

http://gaps.ssr.upm.es/es/investigacion/wsn/138-compiling-for-an-arm-architecture-imote2-tinyos

Or you may get any other already built (like from CodeSorcery...).

Once you have your toolchain ready, then export the CC, the PREFIX of the
binaries, the CFLAGS for your architecture, the TARGET as arm-none-eabi and
the kind of HOST as machine you are using to compile. Configure, make and
install. I remember most of that is explained in the readme files.

Note the CFLAGS are architecture dependent, so you may want check for your
own (regarding the gcc options check this link:
http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/ARM-Options.html)

Just to advice that I have found many bugs when using the library. Some
depend on the float/double representation, some other on the way the
functions are coded. So I had to patch myself. Another handicap is the
memory footprint, which is quite big... And you might be interested in
compiling some functions only.

Cheers!
Sergio



On Tue, Sep 20, 2011 at 6:37 PM, Brian Gough <address@hidden> wrote:

> At Wed, 7 Sep 2011 11:36:25 +0000,
> shienqiang wrote:
> > Now,I want to transplant gsl ro ARM,so can you tell me how to do it?
> > And I want to know that can I use gsl on ARM?
>
> GSL does compile on non-intel platforms.  I can't offer any advice
> more than that - you would need to ask on an ARM-related forum.
>
> --
> Brian Gough
>
>
> _______________________________________________
> Bug-gsl mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/bug-gsl
>


reply via email to

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