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

2006-04-26 Thread Peter Vreman
These are pretty big when taken together. ... ... An optional downloadable package would probably make more sense though. Yes. Hint, link and package/link to smallest possible set of libraries would be better. I am not experienced with many things, so this was pretty confusing (can't find

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

2006-04-26 Thread Peter Vreman
I hope you can see the difference between a linker, which is needed no matte how you want to use the compiler, and a tool like Valgrind or gprof. VS With this difference, compiling -gv succeeds, even if Valgrind is not VS installed. Compiling -pg fails, if gprof/cygwin is not installed.

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

2006-04-26 Thread Пётр Косаревский
Yes. Hint, link and package/link to smallest possible set of libraries would be better. I am not experienced with many things, so this was pretty confusing (can't find -lc --- maybe I'd decipher libc, but -...). The compiler can also generate code for e.g. FreeBSD,Darwin and Linux.

[fpc-pascal] fpc and intel vtune

2006-04-25 Thread Пётр Косаревский
Now: I have downloaded evaluation version of intel VTune 8.0 and tried to debug/optimize an application with it. It does not recognize symbols in FPC module (function names etc., source is not supported too). Still, it does work with Delphi, for example. History: Long ago someone complained

Re: [fpc-pascal] fpc and intel vtune

2006-04-25 Thread Florian Klaempfl
Пётр Косаревский wrote: My question: does anyone know, whether vtune can be tuned to work with FPC (at list on function names level) or not? Afaik not because vtune for windows supports no open debugging information format on windows. Remark: of course I don't ask here for vtune support, I

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

2006-04-25 Thread Пётр Косаревский
] fpc and intel vtune Remark: of course I don't ask here for vtune support, I ask about FPC tools. As far as I know, FPC does not have any profiler under win32 without cygwin. Last time I used gprof on win32, it worked fine? Well, not long ago I was told in these maillists, that gprof requires

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

2006-04-25 Thread Tomas Hajny
đŁÔŇ ëĎÓÁŇĹ×ÓËÉĘ wrote: Sorry, eight questions ahead (first two are important to me). . . Last time I used gprof on win32, it worked fine? Well, not long ago I was told in these maillists, that gprof requires cygwin under win32 for FPC. Is it normal, that compiler (linking stage) tells:

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

2006-04-25 Thread Пётр Косаревский
Пётр Косаревский wrote: Sorry, eight questions ahead (first two are important to me). Well, only WHAT I NEED TO RUN GPROF UNDER WIN32? and WHY cannot find -lc WHEN COMPILING WITH GPROF SUPPORT? are real questions. Others were like minor info/bug reporting (not important to me). Last time

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

2006-04-25 Thread Jonas Maebe
On 25 apr 2006, at 14:13, Пётр Косаревский wrote: No, except that you have to provide its runtime libraries. Well (guess), if you mean, that libc.dll is a part of cygwin, it's not a bad idea, but -lc thing doesn't look like a rebus or a charade, it's like an enigma:) -lc means link the

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

2006-04-25 Thread Пётр Косаревский
Last time I used gprof on win32, it worked fine? Is it normal, that compiler (linking stage) tells: ...ld.exe: cannot find -lc and fails? (I thought about installing cygwin, but I don't understand what do I need from it.) Just guessing here: Most probably libc.dll? Better to be

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

2006-04-25 Thread Пётр Косаревский
Jonas Thank you, it was very clear (except bug 4929, and I can kinda answer that question myself: probably if -CpPENTIUM4 is specified, optimizations are automatically for Pentium4). ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

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

2006-04-25 Thread Tomas Hajny
đŁÔŇ ëĎÓÁŇĹ×ÓËÉĘ wrote: đŁÔŇ ëĎÓÁŇĹ×ÓËÉĘ wrote: . . No, except that you have to provide its runtime libraries. Well (guess), if you mean, that libc.dll is a part of cygwin, it's not a bad idea, but -lc thing doesn't look like a rebus or a charade, it's like an enigma:) The error message

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

2006-04-25 Thread Tomas Hajny
đŁÔŇ ëĎÓÁŇĹ×ÓËÉĘ wrote: . . as,ld question: the answer is in bug report 4462. However, searching bugs or even browsing them is not a good option. No - first of all, the answer is on the top of the snapshot download page (http://www.freepascal.org/develop.html): Note: There is no support for

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

2006-04-25 Thread Пётр Косаревский
ON TOPIC: 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 3. Full CYGWIN

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

2006-04-25 Thread Пётр Косаревский
These are pretty big when taken together. ... ... An optional downloadable package would probably make more sense though. Yes. Hint, link and package/link to smallest possible set of libraries would be better. I am not experienced with many things, so this was pretty confusing (can't find

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

2006-04-25 Thread Tomas Hajny
đŁÔŇ ëĎÓÁŇĹ×ÓËÉĘ wrote: ON TOPIC: 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

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

2006-04-25 Thread Пётр Косаревский
for libgdb.a needed for our IDE as well). OTOH, if we ship gprof.exe, we should probably ship the needed libraries and vice versa, it doesn't make too much sense as it is now... By the way: I don't use IDE (it is not handy due to many issues that are not bugs), but when I tried, it completely

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

2006-04-25 Thread Jonas Maebe
On 25 apr 2006, at 17:18, Пётр Косаревский wrote: These are pretty big when taken together. ... ... An optional downloadable package would probably make more sense though. Yes. Hint, link and package/link to smallest possible set of libraries would be better. I am not experienced with

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

2006-04-25 Thread Пётр Косаревский
But the result is useless without Valgrind (no more useful than a regularly compiled binary at least), just like compiling with -gd is Jonas Just as compiler without a linker. What about user friendly filelist I mentioned? (Now that I know why and how cygwin is needed, I'll install it

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

2006-04-25 Thread Jonas Maebe
On 25 apr 2006, at 19:56, Пётр Косаревский wrote: But the result is useless without Valgrind (no more useful than a regularly compiled binary at least), just like compiling with -gd is Just as compiler without a linker. I hope you can see the difference between a linker, which is needed

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

2006-04-25 Thread Vincent Snijders
Jonas Maebe wrote: On 25 apr 2006, at 19:56, Пётр Косаревский wrote: But the result is useless without Valgrind (no more useful than a regularly compiled binary at least), just like compiling with -gd is Just as compiler without a linker. I hope you can see the difference between a

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

2006-04-25 Thread ϸ�� ����������� � mail.ru
I hope you can see the difference between a linker, which is needed no matte how you want to use the compiler, and a tool like Valgrind or gprof. VS With this difference, compiling -gv succeeds, even if Valgrind is not VS installed. Compiling -pg fails, if gprof/cygwin is not installed. VS