(32-bit) Linux development now working on amd64

David O'Brien obrien at freebsd.org
Fri Apr 8 10:03:51 PDT 2005

On Mon, Apr 04, 2005 at 06:02:13PM +0100, Michael Hopkins wrote:
> Hi all
> Some small changes to the linux_devel makefile have allowed it to be
> installed with linux_base-8 on amd64.  I've compiled, linked and run with a
> fair bit of C code that also includes 32-bit linux static libraries from
> other places and all seems to work fine.
> mwh at Athlon % diff linux_devtools/Makefile linux_devtools-8-amd64/Makefile

The patch won't apply.  Please send diff -u (or diff -c) output next
time. :-)  This isn't quite the right fix.
> ---
> > PATCH_SITE_SUBDIR=    updates/${PORTVERSION}/${LANG}/os/i386
> 42c42
> ---
> > DIST_SUBDIR=          rpm/i386/${PORTVERSION}
> 61c61
> <                       --replacepkgs --ignoreos
> ---
> >                       --replacepkgs --ignoreos --ignorearch

You specified what you did to make it work, but this isn't commitable.
On i386 we don't want to --ignorearch.  We also don't want to hardcode
'i386' as this breaks the port on Alpha.

I've committed s/MACHINE_ARCH/ARCH/g to help.

-- David  (obrien at FreeBSD.org)

More information about the freebsd-amd64 mailing list