../../gcc/gcc/collect2.c:515: `USER_LABEL_PREFIX' undeclared

John David Anglin dave@hiauly1.hia.nrc.ca
Thu Sep 12 15:06:00 GMT 2002


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)



More information about the Gcc-patches mailing list