Version française
Home     About     Download     Resources     Contact us    
Browse thread
compiling error...
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Damien Doligez <damien.doligez@i...>
Subject: Re: [Caml-list] compiling error...
On Jan 27, 2005, at 11:16, Micha wrote:

> when compiling (make opt) the ocaml-sources I get this error:
>
> gcc: -pg and -fomit-frame-pointer are incompatible
> make[1]: *** [startup.p.o] Fehler 1
> make[1]: Leaving directory `/home/micha/src/ocaml-3.08.2/asmrun'
> make: *** [runtimeopt] Fehler 2
> Command exited with non-zero status 2
>
> is the -pg flag neccessary or can I remove it? Why should there be 
> profiling
> code in asmrun?

The -pg flag is rather useful for the profiling version of the library.
I guess technically you could omit it, but don't complain if you can't
profile your programs afterward.

-- Damien