bug-gsl
[Top][All Lists]
Advanced

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

Re: [Bug-gsl] cross-compiling bug


From: Brian Gough
Subject: Re: [Bug-gsl] cross-compiling bug
Date: Wed, 23 Jul 2008 07:50:17 +0100
User-agent: Wanderlust/2.14.0 (Africa) Emacs/22.1 Mule/5.0 (SAKAKI)

At Fri, 18 Jul 2008 13:50:33 -0400,
Tim Rambo wrote:
> 
> I am trying to install the library in cygwin for cross compiling. however 
> after I configure it I get errors trying to make it.
>  
> I configure with:
>  
> ./configure CC=/opt/crosstool/gcc-3.3.4-glibc-2.3.2/arm-unknown-linux-gnu-gcc 
> CPP=/opt/crosstool/gcc-3.3.4-glibc-2.3.2/arm-unknown-linux-gnu-cpp 
> --exec-prefx=/opt/crosstool/gcc-3.3.4-glibc-2.3.2/arm-unknown-linux-gnu/ 
> --disable-shared --build-=i686-pc-cygwin --host=arm-unknown-linux-gnu
>  .....
>  
> Is this a bug or am I just doing this wrong?

Thanks for the bug report.  The configure script says

  checking for strdup... no

This causes a replacement for strdup to be included, and it is the
compilation of that file which gives errors.

I imagine your system does have strdup() -- if you can figure out why
it is not being detected, and fix that problem, it will avoid any
attempt to compile the extra strdup.c file. (Perhaps it's a macro?)

Otherwise you'll need to edit the utils/Makefile to remove the
reference to strdup.c

-- 
Brian Gough

GNU Scientific Library -
http://www.gnu.org/software/gsl/




reply via email to

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