[fpc-pascal] fpc and intel vtune (now about gprof)

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Apr 25 16:43:40 CEST 2006

On 25 apr 2006, at 16:37, Пётр Косаревский wrote:

> maybe shipping with FPC cygwin runtime libraries for gprof wouldn't  
> harm? Because:
>        1. Some are shipped (for FP --- IDE)
>        2. If I am right, libc, libgcc, libgmon and libkernel32 are  
> needed, they shouldn't be weightier than some rarely used binary utils

These are pretty big when taken together.

>        3. Full CYGWIN is not required (as I guess, MINGW is more  
> appropriate [its rtl], isn't it?)
>        4. -pg is a compiler option, not some external feature  
> implying installation of something

There is no other way than to have it as a compiler option, since the  
compiler must generate special code for it. Similarly, -gv implies  
that you will use Valgrind, but that does not mean we're going to  
ship Valgrind with the compiler.

That said, it may make sense to ship those libraries on Windows,  
since most people won't have them. An optional downloadable package  
would probably make more sense though.


More information about the fpc-pascal mailing list