bug-gsl
[Top][All Lists]
Advanced

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

Re: [Bug-gsl] GSL and Xcode on a mac


From: Oliver Jennrich
Subject: Re: [Bug-gsl] GSL and Xcode on a mac
Date: Fri, 14 Aug 2009 16:06:17 +0200

On Fri, Aug 14, 2009 at 3:31 PM, Nicolas Grenie<address@hidden> wrote:
> Hey there ;)
> I installed gsl using macports. Everything looks ok...
>
> I got a project that using gsl_cdf.h, gsl_types.h and gsl_errno.h
> so in my main program they includes like this :
>
> #include <gsl/gsl_types>
> same for the others
>
> to compile my project i did a makefile here : http://pastebin.com/m3a1fd756
>
> my last verion include the -arch flag because i saw somewhere that ppc is
> not supported by gsl.

I don't know about that. What architecture are your working on? If
your Mac is Intel-based, you don't have to worry anyway, as by
default, only Intel images will be compiled.

If you have a PPC architecture, then the -arch flag will make sure
that an Intel image is compiled. But then you need an Intel-compiled
version of the GSL as well.

>
> but i got a error about a function of gsl im using
> "_gsl_cdf_gamma_Pinv", referenced from
> Calculate (long double ......) in main.o
> symbol(s) not found
> collect2 : ld returned 1 exit status"
>
> do you have an explanation for this ?

For what architecture did you compile the gsl?

-- 
Space -- the final frontier




reply via email to

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