[Top] [All Lists]

Re: Patch for compiling xfs-cmds on amd64.

To: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Subject: Re: Patch for compiling xfs-cmds on amd64.
From: Jan Derfinak <ja@xxxxxxxxxxxx>
Date: Sun, 21 Nov 2004 00:32:36 +0100 (CET)
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20041120225411.GA22120@xxxxxxxxxxxxx>
References: <Pine.LNX.4.58.0411202337590.11405@xxxxxxxxxxxxxxxxxx> <20041120225411.GA22120@xxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Sat, 20 Nov 2004, Christoph Hellwig wrote:

> > +HW_PLAT = $(shell /bin/uname --hardware-platform)
> hch@dhcppc1:~$ uname --hardware-platform
> uname: unrecognized option `--hardware-platform'

I'm sorry, I didn't test it on older systems. It is possible to replace
"--hardware-platform" with "-m". It works from RH7.2 to SLES9 (FC2 included).
I attached new patch.

> > +ifeq ($(HW_PLAT), x86_64)
> > +HW_LIB = lib64
> > +else
> > +HW_LIB = lib
> > +endif
> Same is true for at least ppc64, sparc64 and s390x.  I thought autoconf
> had some magic macros to handle lib64 these days?

I agree. But for some reason is configure in Makefile called with static



Attachment: xfs-cmds.x86_64.diff
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>