This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: URGENT: Profiling
- To: alex at isi dot uu dot nl
- Subject: Re: URGENT: Profiling
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Thu, 24 Jun 1999 10:40:46 -0400 (EDT)
- Cc: egcs at egcs dot cygnus dot com
Then the problem is as I wrote below. On solaris2, mcrt1.o is
provided by the SUNWspro package which supplies your cc compiler.
You'd only have this if you bought Sun's C compiler (a separate
product from the OS.) If you did, you'll find it wherever your
sysadmin installed it. In my case it went into
/opt/SUNWspro/SC4.2/lib/mcrt1.o.
What I don't understand, is why mcrt1.o is being looked for at
all. You should only need it when using -p, not -pg. Was saying -pg
a typo on your part?
--Kaveh
> From: Alejandro F Frangi <alex@isi.uu.nl>
>
> Kaveh,
> I'm running the programm under Solaris 2.6 on an Ultra
> Sparc 60. I use egcs1.1.2.
> Regards,
> Alex
>
> > > From: Alejandro F Frangi <alex@isi.uu.nl>
> > >
> > > Hi folks,
> > >
> > > I want to obtain profiling info of my program. When I compile amd
> > > link with the options -pg (egcs1.1.2) I get an error indicating that
> > > ld cannot find the module mcrt1.o. This module is not present in the
> > > installation directory where crt1.o, etc. are located. It seems to me
> > > that the file was not generated when I installed egcs. Does anyone
> > > have a hint on what is going on?
> > > Regards,
> > > Alex
> >
> > You need to begin by saying what system you are having this
> > problem on.
> >
> > BTW, I believe in general mcrt1.o is expected to be provided
> > by the system, not by egcs. But knowing your platform would help.
> > --Kaveh
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions