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: Micha <micha-1@f...>
Subject: compiling error...
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?

my cflags (gcc 3.4.1)  are:
-march=athlon-xp -O3 -fomit-frame-pointer -mfpmath=sse 
-maccumulate-outgoing-args -pipe

 Michael