Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: Gruber Gerhard , djgpp AT delorie DOT com Date: Tue, 27 Jan 1998 10:54:19 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: RHIDE 1.4 and profiling In-reply-to: <34CDD670.110E7B3E@sis.co.at> Precedence: bulk Gruber Gerhard 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