Port-hpcarm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Trouble Cross-compiling for hpcarm (seems related to lang/gcc2)
Ax0n <ax0n%h-i-r.net@localhost> wrote:
>I currently have three NetBSD/hpcarm systems stuck on NetBSD 6.1 due to the
>lack of binary packages in pkgsrc. I'd love to move them over to 7.0.1. I
>am trying to build hpcarm binaries under NetBSD-7.0.1/amd64 and I've run
>into the same trouble as outlined at the bottom of this page by Silas Cou:
>http://www.silas.net.br/tech/pkgsrc/pkgsrc-troubleshooting.html
>
>This is on a fresh install of NetBSD/amd64. I unpacked pkgsrc from inside
>the installer, then followed the instructions outlined here:
>ftp://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/doc/HOWTO-use-crosscompile
What have you got built so far ?
[snip]
>mk.conf is as follows (comments stripped for brevity)
>
>USE_CROSS_COMPILE?= yes
>CROSSBASE= ${LOCALBASE}/cross-${TARGET_ARCH:U${MACHINE_ARCH}}
>.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
>MACHINE=hpcarm
>MACHINE_ARCH= arm
This line should be 'earmv4' not 'arm'.
>TOOLDIR= /usr/obj/tooldir.NetBSD-7.0.1-amd64
>CROSS_DESTDIR= /usr/obj/destdir.hpcarm
>PACKAGES=${PKGSRCDIR}/packages.${MACHINE_ARCH}
>WRKDIR_BASENAME= work.${MACHINE_ARCH}
>.endif
I would delete your TOOLDIR and CROSS_DESTDIR and start again with
the new value for MACHINE_ARCH.
Robert Swindells
Home |
Main Index |
Thread Index |
Old Index