Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2005-01-27 (10:16)
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