Article View: gnu.gcc.bug
Article #6083Add -pdf to specs file for Digital UNIX 4 on Alpha
From: jacobs private
Date: Wed, 18 Dec 1996 00:00
Date: Wed, 18 Dec 1996 00:00
33 lines
1622 bytes
1622 bytes
In case of profiling (-p or -pg) option on Alpha computers running Digital
UNIX 4.0 the library libpdf.a is needed in addtion to libprof1.a.
(will result in several unsolved references _pdf_* during linking.)
For the patch see below.
Willy Jacobs
---
gcc -v
Reading specs from /see/lib/gcc-lib/alpha-dec-osf4.0/2.7.2.1/specs
gcc version 2.7.2.
diff -rc2P gcc-2.7.2.1/config/alpha/alpha.h- gcc-2.7.2.1/config/al>
*** gcc-2.7.2.1/config/alpha/alpha.h- Wed Dec 18 09:56:25 1996
--- gcc-2.7.2.1/config/alpha/alpha.h Wed Dec 18 09:57:19 1996
***************
*** 43,49 ****
#define SIGNED_CHAR_SPEC "%{funsigned-char:-D__CHAR_UNSIGNED__}"
! /* Under OSF/1, -p and -pg require -lprof1. */
! #define LIB_SPEC "%{p:-lprof1} %{pg:-lprof1} %{a:-lprof2} -lc"
/* Pass "-G 8" to ld because Alpha's CC does. Pass -O3 if we are
--- 43,49 ----
#define SIGNED_CHAR_SPEC "%{funsigned-char:-D__CHAR_UNSIGNED__}"
! /* Under OSF/1, -p and -pg require -lprof1 -lpdf. */
! #define LIB_SPEC "%{p:-lprof1 -lpdf} %{pg:-lprof1 -lpdf} %{a:-lprof2} -lc"
/* Pass "-G 8" to ld because Alpha's CC does. Pass -O3 if we are
Technical Details
Message-ID:
<9612180922.AA07449@hitt.nl>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 113d02,657e5a290be5622,start X-Google-Attributes: gid113d02,public From: jacobs@hitt.nl (jacobs private) Subject: Add -pdf to specs file for Digital UNIX 4 on Alpha Date: 1996/12/18 Message-ID: <9612180922.AA07449@hitt.nl> X-Deja-AN: 204800843 sender: bug-gcc-request@prep.ai.mit.edu x-gateway: relay7.UU.NET from bug-gcc to gnu.gcc.bug; Wed, 18 Dec 1996 15:42:58 EST newsgroups: gnu.gcc.bug