delorie.com/djgpp/bugs/show.cgi | search |
Not really a bug. Building a profiling library requires some hacking of the libc/crt0 makefile, so that mcount.c doesn't get built with profiling enabled. That would lead to infinite recursion. I'm posting this here so the "fix" can have a number for the patch site.
Perhaps the necessary hacking could be described? Right, MartinS
The flags used to compile and link the DJGPP sources are gcc.opt and gcc-l.opt. A fix has been made to the build system, to that profiling options from gcc.opt and gcc-l.opt are screened out, when building mcount.c. The fix is in DJGPP CVS, which will become DJGPP 2.04.
webmaster | delorie software privacy |
Copyright © 2010 by DJ Delorie | Updated Jul 2010 |