Re: [Haifux] gcc -pg, but no gmon.out

2004-01-28 Thread Nadav Har'El
On Wed, Jan 28, 2004, Shachar Tal wrote about Re: [Haifux] gcc -pg, but no gmon.out: BTW - we use ar to create libraries and link against them. Anything in there to cause problems? Not really. The only thing that matters, as far as the mon.out file being created, is the linking stage. Can you

Re: [Haifux] gcc -pg, but no gmon.out

2004-01-28 Thread Shachar Tal
Hi Nadav, Orna, On Tue, 27 Jan 2004, Nadav Har'El wrote: On Tue, Jan 27, 2004, Shachar Tal wrote about [Haifux] gcc -pg, but no gmon.out: Hi fellas, I have a somewhat complex piece of code that needs profiling. It is composed of numerous Makefiles. I added -pg -g to the compiler

Re: [Haifux] gcc -pg, but no gmon.out

2004-01-28 Thread Shachar Tal
On Wed, 28 Jan 2004, Nadav Har'El wrote: On Wed, Jan 28, 2004, Shachar Tal wrote about Re: [Haifux] gcc -pg, but no gmon.out: BTW - we use ar to create libraries and link against them. Anything in there to cause problems? Not really. The only thing that matters, as far as the mon.out

Re: [Haifux] gcc -pg, but no gmon.out

2004-01-28 Thread Nadav Har'El
On Wed, Jan 28, 2004, Shachar Tal wrote about Re: [Haifux] gcc -pg, but no gmon.out: /usr/bin/gcc -o ../../run/linux/prerelease/agct.gprof -L../../lib/linux/prerelease -lagct -lagsc -lagdb -lagdm -lutos -lutll -lagrp -lagsi -lagmi -lcmag -lcmrp -lagrp -lagsi -lagmi -lcmcn -lcmrp -lagrp -lagsi

Re: [Haifux] gcc -pg, but no gmon.out

2004-01-28 Thread Shachar Tal
On Wed, 28 Jan 2004, Nadav Har'El wrote: On Wed, Jan 28, 2004, Shachar Tal wrote about Re: [Haifux] gcc -pg, but no gmon.out: /usr/bin/gcc -o ../../run/linux/prerelease/agct.gprof -L../../lib/linux/prerelease -lagct -lagsc -lagdb -lagdm -lutos -lutll -lagrp -lagsi -lagmi -lcmag -lcmrp

Re: [Haifux] gcc -pg, but no gmon.out

2004-01-28 Thread guy keren
, but no gmon.out On Wed, 28 Jan 2004, Nadav Har'El wrote: On Wed, Jan 28, 2004, Shachar Tal wrote about Re: [Haifux] gcc -pg, but no gmon.out: /usr/bin/gcc -o ../../run/linux/prerelease/agct.gprof -L../../lib/linux/prerelease -lagct -lagsc -lagdb -lagdm -lutos -lutll -lagrp -lagsi -lagmi -lcmag

Re: [Haifux] gcc -pg, but no gmon.out

2004-01-28 Thread Shachar Tal
] Subject: Re: [Haifux] gcc -pg, but no gmon.out On Wed, 28 Jan 2004, Nadav Har'El wrote: On Wed, Jan 28, 2004, Shachar Tal wrote about Re: [Haifux] gcc -pg, but no gmon.out: /usr/bin/gcc -o ../../run/linux/prerelease/agct.gprof -L../../lib/linux/prerelease -lagct -lagsc

Re: [Haifux] gcc -pg, but no gmon.out

2004-01-28 Thread guy keren
On Wed, 28 Jan 2004, Shachar Tal wrote: On Wed, 28 Jan 2004, guy keren wrote: please paste it anyway. when you say trust me - i don't. neither should you trust yourself. show us the actual command, as it gets executed. there you go: /usr/bin/gcc -o ../../run/linux/prerelease/agct.gprof

[Haifux] gcc -pg, but no gmon.out

2004-01-27 Thread Shachar Tal
Hi fellas, I have a somewhat complex piece of code that needs profiling. It is composed of numerous Makefiles. I added -pg -g to the compiler parameters, but when the resulting binary runs, gmon.out is not created. When I create a simpler project (Makefile and code file set) to test this

Re: [Haifux] gcc -pg, but no gmon.out

2004-01-27 Thread Nadav Har'El
On Tue, Jan 27, 2004, Shachar Tal wrote about [Haifux] gcc -pg, but no gmon.out: Hi fellas, I have a somewhat complex piece of code that needs profiling. It is composed of numerous Makefiles. I added -pg -g to the compiler parameters, but when the resulting binary runs, gmon.out

Re: [Haifux] gcc -pg, but no gmon.out

2004-01-27 Thread guy keren
(what does haifux got to do with lkml anyway? :P~~~ we deserve our own alias!) On Tue, 27 Jan 2004, Shachar Tal wrote: I have a somewhat complex piece of code that needs profiling. It is composed of numerous Makefiles. I added -pg -g to the compiler parameters, but when the resulting binary