[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 00:07:24 -0400 |
On Thu, 2011 Apr 21 16:36-0400, Chet Ramey wrote:
>
> What is the part of CFLAGS that fixes this, and why not just add it to
> CFLAGS_FOR_BUILD? CFLAGS_FOR_BUILD is for the `build tools' part of
> the builtins library.
I believe the "+DD64" bit is salient. (Generate 64-bit instead of
32-bit code.)
The problem here is that the makefile is compiling without CFLAGS
(a.k.a. with CFLAGS_FOR_BUILD), and then linking with CFLAGS. Whether
it's CFLAGS or CFLAGS_FOR_BUILD isn't the issue; it's that the makefile
is using one and then the other on the same object.
That said, I'm not sure why CFLAGS and CFLAGS_FOR_BUILD should be
different, given that this is a "simple" build where build = host =
target.
--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!