POV-Ray : Newsgroups : povray.unix : compiling on linux Server Time: 25 Jun 2019 19:41:40 GMT
  compiling on linux (Message 1 to 3 of 3)  
From: Rusi
Subject: compiling on linux
Date: 10 Apr 2014 19:40:00
Message: <web.5346f2d5d8eafedcd74dbcf80@news.povray.org>
After a number of days of trying to compile on linux, finally it went through
today (Yay!). amd64 ubuntu 13.10

I thought I'd mention that I had to do

.../configure COMPILED_BY="Rusi" LIBS="-lboost_date_time -lboost_thread"
--prefix=/home/...

the need for boost_thread is probably well-known but I am surprised by
boost_date_time:  Should not the overall boost_system take care of that?

The other thing I would like to ask:

Compiling 200 odd c++ files with -O3 was frying my somewhat old machine.

It was helped and speeded up by removing the -O3 from all the makefiles

Is there some way to tell configure to do that?

In the end I guess I'll put back the -O3 when the rest is ok
however its 40 deg in shade out here :-) and so a bit sweaty with repeated
compiles!


Post a reply to this message

From: jhu
Subject: Re: compiling on linux
Date: 11 Apr 2014 00:50:01
Message: <web.53473bbe3f90e27fd19b0ec40@news.povray.org>
"Rusi" <nomail@nomail> wrote:
> After a number of days of trying to compile on linux, finally it went through
> today (Yay!). amd64 ubuntu 13.10
>
> I thought I'd mention that I had to do
>
> .../configure COMPILED_BY="Rusi" LIBS="-lboost_date_time -lboost_thread"
> --prefix=/home/...
>
> the need for boost_thread is probably well-known but I am surprised by
> boost_date_time:  Should not the overall boost_system take care of that?
>
> The other thing I would like to ask:
>
> Compiling 200 odd c++ files with -O3 was frying my somewhat old machine.
>
> It was helped and speeded up by removing the -O3 from all the makefiles
>
> Is there some way to tell configure to do that?
>
> In the end I guess I'll put back the -O3 when the rest is ok
> however its 40 deg in shade out here :-) and so a bit sweaty with repeated
> compiles!

CFLAGS="-O2" CXXFLAGS=$CFLAGS ./configure


Post a reply to this message

From: Le Forgeron
Subject: Re: compiling on linux
Date: 11 Apr 2014 06:16:32
Message: <534788c0@news.povray.org>
Le 10/04/2014 21:37, Rusi a écrit :

> The other thing I would like to ask:
> 
> Compiling 200 odd c++ files with -O3 was frying my somewhat old machine.
> 
> It was helped and speeded up by removing the -O3 from all the makefiles
> 

If your somewhat old machine has more than one core, using "make -j x"
with x the number of core, might speedup the wall-time of the compile.
the load would be the same, but the difference for the one between the
screen and the chair might be appreciated.

Of course, using more than one core means hotter cpu (but for less
time... all might be a question of balance)

-- 
Just because nobody complains does not mean all parachutes are perfect.


Post a reply to this message

Copyright 2003-2008 Persistence of Vision Raytracer Pty. Ltd.