This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
../../gcc/gcc/collect2.c:515: `USER_LABEL_PREFIX' undeclared
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: gcc-patches at gcc dot gnu dot org
- Cc: zack at codesourcery dot com
- Date: Thu, 12 Sep 2002 18:06:09 -0400 (EDT)
- Subject: ../../gcc/gcc/collect2.c:515: `USER_LABEL_PREFIX' undeclared
The change to collect2.c in this patch
> 2002-09-11 Zack Weinberg <zack@codesourcery.com>
>
> * Makefile.in: Remove all references to s-under and underscore.c.
> * collect2.c, tlink.c: Change all uses of prepends_underscore
> to look directly at USER_LABEL_PREFIX.
causes the following error when building for hppa64-hp-hpux11.00:
../../gcc/gcc/collect2.c: In function `dump_file':
../../gcc/gcc/collect2.c:515: `USER_LABEL_PREFIX' undeclared (first use in this
function)
I see toplev.c provides a default define. The docs don't say a define
is required.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)