[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error building mkbuiltins on ia64-hp-hpux11.23
From: |
Daniel Richard G. |
Subject: |
Re: Error building mkbuiltins on ia64-hp-hpux11.23 |
Date: |
Fri, 22 Apr 2011 12:55:56 -0400 |
On Fri, 2011 Apr 22 10:08-0400, Chet Ramey wrote:
>
> That's not what actually happens. CCFLAGS and CCFLAGS_FOR_BUILD share
> a common set of options but differ in their use of CPPFLAGS and
> CFLAGS. The link is done with LDFLAGS_FOR_BUILD. It's hard to tell
> where the DD64 is coming from, since it doesn't get added by anything
> in the bash configure scripts, but I suspect it gets put into
> LOCAL_DEFS somehow.
+DD64 is from CFLAGS in the environment prior to configuration.
Broadly speaking, linking needs to be done with CFLAGS + LDFLAGS (not
just LDFLAGS) precisely because of flags like this. This is already how
Automake does things; the bug comes down to bash's build system not
following existing convention. It's not reasonable to have to duplicate
CFLAGS in LDFLAGS to avoid the reported link error.
--Daniel
--
NAME = Daniel Richard G. _\|/_ Remember, skunks
MAIL = skunk@iSKUNK.ORG (/o|o\) _- don't smell bad---
MAIL+= skunk@alum.MIT.EDU < (^),> it's the people who
WWW = (not there yet!) / \ annoy us that do!