Mail Archives: djgpp/1998/04/27/05:07:01
Nate Eldredge wrote:
>
> Okay. This means GCC is trying to link against a profiling library. Most
> likely, this is due to it not using your specs file, but rather its builtin
> one. Compile with `-v' and see if you see the line "Using builtin specs",
> and if so, make sure that %DJDIR%/lib is along the LIBRARY_PATH specified
> for GCC in DJGPP.ENV. (The README erroneously instructs you to remove it.)
>
> As a quick-and-dirty fix, you can copy %DJDIR%/lib/libc.a to
> %DJDIR%/lib/libc_p.a, or get a profiling library from Tom Demmer's patch
> site and install it as libc_p.a. (This would have the addition of letting
> you get profiling info on library functions.)
That version is for 2.7.2, so it may or may not work with
2.8.0, so I'd rather recommend getting the libc sources
for 2.8 and rebuild it with -pg.
--
Ciao
Tom
*************************************************************
* Thomas Demmer *
* Lehrstuhl fuer Stroemungsmechanik *
* Ruhr-Uni-Bochum *
* Universitaetsstr. 150 *
* D-44780 Bochum *
* Tel: +49 234 700 6434 *
* Fax: +49 234 709 4162 *
* http://www.lstm.ruhr-uni-bochum.de/~demmer *
*************************************************************
- Raw text -