delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/27/08:51:06

Message-Id: <m0xx5jy-000S25C@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
Organization: INTI
To: Gruber Gerhard <g DOT gruber AT sis DOT co DOT at>, djgpp AT delorie DOT com
Date: Tue, 27 Jan 1998 10:54:19 +0000
MIME-Version: 1.0
Subject: Re: RHIDE 1.4 and profiling
In-reply-to: <34CDD670.110E7B3E@sis.co.at>

Gruber Gerhard <g DOT gruber AT sis DOT co DOT at> wrote:
> Robert Hoehne wrote:
> > 
> > Gruber Gerhard wrote :
> > >
> > [...]
> > > Any comments?
> > 
> > Yes! Please describe _exact_ what you did, and _exact_ what an error
> > you got.
> 
> One sourcefile as project.
> Options/Compilers/Debugging/-pg [x]
> Options/Linker Options/ -pg
> 
> This leads to the commandline:
> 
> // this is ok.
> gcc -g -pg -c damen.c -o damen.o
> 
> // this is not ok because the linker says 'unrecognized option -pg'
> which is true.
> ld -Xlinker -pg -o damen.exe damen.o
> 
> 
> Removing the -pg from the "Linker Options" results in:
> gcc -g -pg -c damen.c -o damen.o
> gcc -o damen.exe damen.o
> 
> Which means that there is no profiling activated because the -pg option
> has to be passed on to the linker.
> The second call should read (in this case)
> gcc -pg -o damen.exe damen.o

I said it before, seems that my message was lost or you simply ovelooked it:

OPTIONS|LIBRARIES HAVE A PROFILE OPTION

Additionally be sure to read the FAQ about profiling.

SET 
------------------------------------ 0 --------------------------------
Visit my home page: http://set-soft.home.ml.org/
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-sot AT usa DOT net - ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019