[fpc-devel]Gnu profiler support.
Pascal Pype
pascal.pype at skynet.be
Wed Sep 10 00:13:06 CEST 2003
Hello ,
Ihm there is a problem pertaining to the use
of the -pg (gnu profiler support) option with fpc.
When one compiles with the option enebled ,
one receives an error that a certain object
file isn't present.
e.g.
fpc -g -gh -pg -FEdbg import.pas
Free Pascal Compiler version 1.0.6 [2002/04/26] for i386
Copyright (c) 1993-2002 by Florian Klaempfl
Target OS: FreeBSD/ELF for i386
Compiling import.pas
Assembling import
Linking dbg/import
import.pas(18) Warning: Object gprt0.o not found, Linking may fail !
/usr/libexec/elf/ld: cannot find gprt0.o
import.pas(18) Error: Error while linking
Closing script dbg/ppas.sh
The OS used is freebsd release 4.8.
The fpc compiler used is 1.0.6.
PS.
On a linux platform the "-pg" option works fine.
My kind regards , Pype Pascal.
More information about the fpc-devel
mailing list