| 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@infradead.org> |
| References: | <Pine.LNX.4.58.0411202337590.11405@alienAngel.home.sk> <20041120225411.GA22120@infradead.org> |
| 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
parameters.
jan
--
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Patch for compiling xfs-cmds on amd64., Christoph Hellwig |
|---|---|
| Next by Date: | Re: XFS: can't read superblock, Eric Sandeen |
| Previous by Thread: | Re: Patch for compiling xfs-cmds on amd64., Christoph Hellwig |
| Next by Thread: | problems in xfs_bmap.8, xfs_check.8, esr |
| Indexes: | [Date] [Thread] [Top] [All Lists] |