From: "Frank Palmieri" <frank@interscopetech.com>
To: <axp-list@redhat.com>
Subject: Profiling with ccc - bad symbols
Date: Fri, 18 May 2001 14:40:34 -0400 [thread overview]
Message-ID: <005001c0dfca$0c827d00$8119fea9@fs1.internal.interscopetech.net> (raw)
I have a program doing JPEG compression using libjpeg that I am trying to
profile. The program is a mix of C & C++ with the best performance if I
compile the C portions with ccc (the Compaq C compiler) and the C++ portion
with g++ (GNU C++ compiler). The problem I'm having is that the times in
the profiling with gprof are attributed to the wrong symbols. I'm using
floating point DCT in JPEG and routines that are only executed in the
integer DCT are being attributed. Everything works fine if I use all gnu
tools. The problem only occurs with ccc.
The symbols from cxx appear fine as long as I use the --style=compaq with
gprof.
Current versions:
RedHat Linux 6.1 for Alpha
gcc/g++ egcs-2.91.66
ccc 6.2.9.504-2
cxx 6.3.9.5
gprof 2.9.1
What compiler flags should be used with ccc to get it to generate gnu
compatible symbols? I need this with optimization on. We are currently
compiling ccc with:
-g2 -fast -ev67 -O3 -speculate all -non_shared -lsys5 +GemFB
The documentation I can find doesn't really talk about profiling on the
Linux platform. It is mostly recycled Digital UNIX documentation.
Thanks,
Frank Palmieri InterScope Technologies, Inc.
5001 Baum Blvd, Suite 434 Pittsburgh, PA 15213-1851
frank@interscopetech.com http://www.interscopetech.com
412-802-7176 Fax: 412-802-7179
reply other threads:[~2001-05-18 18:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox