public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Tim Prince <timothyprince@sbcglobal.net>
To: Carlos Marcelino Casas Cuadrado <cmcasas@gmv.es>
Cc: gcc-help@gcc.gnu.org
Subject: Re: Profiling with g++
Date: Tue, 04 Jul 2006 23:18:00 -0000	[thread overview]
Message-ID: <44AAF737.7030606@sbcglobal.net> (raw)
In-Reply-To: <B73DD2196B6DA248BC8E4FFE4679C6F2011978ED@GMVMAIL1.gmv.es>

Carlos Marcelino Casas Cuadrado wrote:
> Hello all!
> I'm trying to compile a "quite huge" C++ library in SUN Solaris with the
> -pg option for profiling. It compiles fine, but when I try to make the
> dynamic library it says that objects in
>  
> /usr/lib/libp/libc.a
> and
> /usr/lib/libp/libm.a
>  
> are not defined. Those objects are very different; they go from _mcount
> to _memcpy. Without the -pg option everything goes ok. Might I be
> missing some library or anything like that?
>  
If you use g++ -pg to drive the link, it should set up to search the 
necessary libraries.  As you have not given specifics of your link 
command, we may suspect you have done differently.

  reply	other threads:[~2006-07-04 23:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-04 15:58 Carlos Marcelino Casas Cuadrado
2006-07-04 23:18 ` Tim Prince [this message]
2006-07-05  7:32 Carlos Marcelino Casas Cuadrado

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44AAF737.7030606@sbcglobal.net \
    --to=timothyprince@sbcglobal.net \
    --cc=cmcasas@gmv.es \
    --cc=gcc-help@gcc.gnu.org \
    --cc=tprince@myrealbox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).