QuantLib on Mac OS-X

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

QuantLib on Mac OS-X

CR Koudella
Hi,

I installed QuantLib on a G4 powerbook using the unstable fink tree and
everything
seems to have gone OK.

I am trying to play around with the library and have a few questions.

First off, the Usage section in the user manual stipulates that there are
examples of
makefiles for gcc somewhere? Where? I could not find them.

I don't have to use gcc, but are there any free alternatives that run on mac
os-x, and if
only commercial, then is there something you would recommend?

If anyone is using this library with gcc and is willing to discuss a few
beginner's issues,
please contact me.

Thanks,

Chris

_________________________________________________________________
Check out the latest news, polls and tools in the MSN 2004 Election Guide!
http://special.msn.com/msn/election2004.armx



Reply | Threaded
Open this post in threaded view
|

Re: QuantLib on Mac OS-X

Luigi Ballabio-2
Hi,

On 2004.07.06 16:47, CR Koudella wrote:
> I installed QuantLib on a G4 powerbook using the unstable fink tree  
> and everything seems to have gone OK.
>
> I am trying to play around with the library and have a few questions.
>
> First off, the Usage section in the user manual stipulates that there  
> are examples of makefiles for gcc somewhere

Then the Usage section must be changed. Excuse me for a second while I  
edit the documentation sources...

Done. In next release they will read:

Under the Examples folder you can find examples of QuantLib usage,
including input files for automake and makefiles for the Borland
free compiler and Microsoft Visual C++.

Now, you might or might not have the Examples folder, depending on what  
got included into which fink package, and you might or might not be  
interested in automake if you're not concerned with portability across  
systems. Anyway, you should be able to use the library the usual way,  
i.e.,

gcc myfile.cpp -lQuantLib

possibly adding -I or -L flags if needed (they shouldn't though if the  
library got installed into /usr or /usr/local).

Later,
        Luigi


Reply | Threaded
Open this post in threaded view
|

Re: QuantLib on Mac OS-X

Mark Treiber-2
In reply to this post by CR Koudella
On Tue, 06 Jul 2004 10:47:52 -0400, CR Koudella <[hidden email]> wrote:
> I installed QuantLib on a G4 powerbook using the unstable fink tree and
> everything
> seems to have gone OK.

Cool, someone other than me uses the package.  Nice to know.

> First off, the Usage section in the user manual stipulates that there are
> examples of
> makefiles for gcc somewhere? Where? I could not find them.

I forgot to include them in the package.  For the next release I'll
install the sample *.cpp files in /sw/share/doc/quantlib/examples.
Until then they're available in the QuantLib source tar ball which you
should already have in /sw/src.

Mark.