Hi,
I like to profile my code with Lazarus or FPC. I tried to use the
{$PROFILE ON} tag in the code and also the -pg option to fpc. In both
situations I got an linker-error. The linker says he can't find the
option -lc. In the file link.res the following section is displayed:
GROUP(
-lc
-lgcc
-lgmon
-lkernel32
C:\lazarus\pp\units\i386-win32\rtl\libpwindows.a
C:\lazarus\lcl\units\i386-win32\win32\libpWinExt.a
)
Normally when I compile only the following is displayed:
GROUP(
C:\lazarus\pp\units\i386-win32\rtl\libpwindows.a
C:\lazarus\lcl\units\i386-win32\win32\libpWinExt.a
)
Are the different 4 lines libraries that must been linked to profile?
Where can I find these libraries?
Has anyone experience with the option {$PROFILE ON}? Or is there another
way to profile your code?
Thx in advance, David.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives