[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: producing a self-standing program
From: |
Jordi Gutiérrez Hermoso |
Subject: |
Re: producing a self-standing program |
Date: |
Wed, 5 Sep 2012 09:53:02 -0400 |
On 5 September 2012 09:42, Carnë Draug <address@hidden> wrote:
> On 5 September 2012 07:04, Yury T. <address@hidden> wrote:
>> I'd want to run my program on 'foreign' cluster, on which I'm unsure I'd be
>> able to permanently keep >1G of octave binaries, and in fact, I'm reluctant
>> to undertake the compilation itself there.
>
> You can build Octave in less than 1GB if you don't build with
> debugging symbols. See the manual here
> http://www.gnu.org/software/octave/doc/interpreter/Running-Configure-and-Make.html#Running-Configure-and-Make
>
> Just pass the following options to configure "CFLAGS=-O CXXFLAGS=-O
> LDFLAGS=" Note that there's an error on the manul, it says that those
> are for make (it's for configure).
You probably want -O2, not -O, since you will want to allow gcc to
perform compilation optimisations.
- Jordi G. H.