Building an image for Raspberry Pi
Glen Barber
gjb at FreeBSD.org
Sun Apr 6 16:56:29 UTC 2014
On Sun, Apr 06, 2014 at 09:52:53AM -0700, Tim Kientzle wrote:
> > With the switch to clang on arm recently, the XDEV tools have
> > started building a clang compiler. Should we force it to build a
> > gcc compiler instead?
>
> Certainly, it would be nice to have an option for a GCC XDEV.
>
I wonder if this is why I have not run into this build failure.
I'm forcing existence of gcc(1), and set WITH_GCC=1 for the xdev build:
======================================================================
head/release/arm/release.sh:
98 eval chroot ${CHROOTDIR} make -C /usr/src/gnu/usr.bin/cc \
99 WITH_GCC=1 ${WORLD_FLAGS} -j1 obj depend all install
100 # Build the 'xdev' target for crochet.
101 eval chroot ${CHROOTDIR} make -C /usr/src \
102 XDEV=${XDEV} XDEV_ARCH=${XDEV_ARCH} WITH_GCC=1 \
103 ${WORLD_FLAGS} xdev
======================================================================
Unless this change is too recent (within the last week), and I just
haven't built against these changes yet.
Glen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20140406/00b74761/attachment.sig>
More information about the freebsd-arm
mailing list