QuantLib & Ubuntu

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

QuantLib & Ubuntu

Bohan Liu
Dear all,

Anyone knows which C++ compiler should I use in Linux Ubuntu to build boost and QuantLib?

Best,

Bohan

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: QuantLib & Ubuntu

Bojan Nikolic

> Anyone knows which C++ compiler should I use in Linux Ubuntu to build boost
> and QuantLib?

g++ 4.3.2 that comes with Ubuntu 8.10 works fine

--
Bojan Nikolic          ||          http://www.bnikolic.co.uk

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: QuantLib & Ubuntu

Luigi Ballabio
In reply to this post by Bohan Liu
On Thu, 2009-09-10 at 06:19 -0700, Bohan Liu wrote:
> Anyone knows which C++ compiler should I use in Linux Ubuntu to build
> boost and QuantLib?

It's gcc, but you don't have to call it yourself.
For boost, see
<http://www.boost.org/doc/libs/1_40_0/more/getting_started/unix-variants.html>, section "easy build and install".
For quantlib, run

./configure
make

inside the QuantLib directory.

Luigi


--

No, I'm not interested in developing a powerful brain. All I'm after
is just a mediocre brain, something like the president of American
Telephone and Telegraph Company.
-- Alan Turing on the possibilities of a thinking machine, 1943.



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: QuantLib & Ubuntu

Dirk Eddelbuettel
In reply to this post by Bohan Liu

On 10 September 2009 at 06:19, Bohan Liu wrote:
| Dear all,
|
| Anyone knows which C++ compiler should I use in Linux Ubuntu to build boost
| and QuantLib?

A couple of quick questions:

-- The distro (or rather the gcc maintainers) usually decide which gcc or g++
   to make a default; this is currently 4.3.3 on Ubuntu 9.04 and 4.3.4 on
   Debian testing. Why would you need to second-guess it?

-- QL binaries are available; so why not 'sudo apt-get install linquantlib0-dev'
   which gets you 0.9.7

-- Moreover, package sources are available, so if you keep a src entry in
   /etc/apt/sources.list you can even do 'sudo apt-get build-dep libquantlib0-dev'
   which would get you all requirements to be build the package
   automatically, dpkg / apt can even build the package for you.

Dirk (aka the Debian QL maintainer)

--
Three out of two people have difficulties with fractions.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users