🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #41708

Help with GPROF

#41708
From: Peter Dobransky
Date: Mon, 26 Feb 1996 00:00
20 lines
1359 bytes
I'm trying to compile a 'hello world' program with gcc-2.7.2 using
the -pg switch on a Solaris 2.4 x86 machine.  I'm trying to use the
GNU profiler gprof.  However, when gcc links the object files, I get
the following linking errors:

ld: fatal: file gcrt1.o: cannot open file; errno=2
ld: fatal: file gcrti.o: cannot open file; errno=2
ld: fatal: File processing errors.  No output written to decode

Apparently, I'm missing the gcrt1.o and gcrti.o files.  I've looked
through the gcc-2.7.2 source directory and have found a couple of
references to these files, but I have not been able to create them.

Is there a way to compile gcc and create these files or is there a
place on the WWW to download these files??

---
Peter Dobransky                        psd@mass-usr.com
U.S. Robotics                          Phone: 508-898-2600
Westboro, MA                           FAX:   508-366-3626
Technical Details
Message-ID: <31323704.123A@mass-usr.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,6865ab9f73c52683,start
X-Google-Attributes: gid11318c,public
From: Peter Dobransky <psd@mass-usr.com>
Subject: Help with GPROF
Date: 1996/02/26
Message-ID: <31323704.123A@mass-usr.com>
X-Deja-AN: 141251788
content-type: text/plain; charset=us-ascii
organization: mass-usr.com
mime-version: 1.0
newsgroups: gnu.gcc.help
x-mailer: Mozilla 2.0 (X11; I; SunOS 5.4 sun4m)