Hi,
I have a Raspberry Pi B and the prebuilt FreeBSD image on it.
I was wanting to build one port, statically, for two different architectures: native (arm6) to run on the Pi and one for an Intel Atom processor (amd64?).
I've looking into using poudriere but this seems overkill for the sake of one package.
I tried just running a make from the directory:
However while this built a static binary it didn't build it for the amd64; it seemed to just ignore those options.
Is this the correct method?
Also am I right in thinking that an amd64 binary will run fine on an Intel Atom C2358 or do I need to specify the target and target_arch as "atom"?
Thanks.
I have a Raspberry Pi B and the prebuilt FreeBSD image on it.
I was wanting to build one port, statically, for two different architectures: native (arm6) to run on the Pi and one for an Intel Atom processor (amd64?).
I've looking into using poudriere but this seems overkill for the sake of one package.
I tried just running a make from the directory:
Code:
# make TARGET=amd64 TARGET_ARCH=amd64 LDFLAGS+="-static"
Is this the correct method?
Also am I right in thinking that an amd64 binary will run fine on an Intel Atom C2358 or do I need to specify the target and target_arch as "atom"?
Thanks.