cross compile

  1. plexinvise

    Cross-compiling Rust for aarch64 from amd64

    Hi there, I am trying to setup RUST cross compilation and building on AMD64/FreeBSD 14.rc3 for aarch64/FreeBSD 14.rc3. I am very new to cross compilation so not sure what details are needed, please let me know if something is missing. SO I have a project on Rust that I am trying to build for...
  2. rwv37

    Compiling for earlier FreeBSD versions?

    If I have a machine running 14.0-RELEASE and another running 13.2-RELEASE, is it possible to have the 14.0 machine build ports intended for the use of the 13.2 machine? I see that I apparently can configure gitup to pull the two trees into two separate locations (e.g. /usr/ports and...
  3. A

    C++ Cross Compiling using FreeBSD Clang

    I have a project that involves frequent cross compilation to aarch64 Linux using clang (and lld). This is linked / built against a sysroot for aarch64 Linux. A simple test program builds fine on Linux and macOS (using LLVM clang not Apple clang as it does not support lld), however it fails to...
  4. B

    C Cross Compiling Openssl for ARM64(Nanopi R2S)

    Hi everyone, I'm having problem when cross compiling openssl from AMD64 to ARM64. I've tried: pkg install aarch64-none-elf-gcc ./Configure BSD-generic32 --cross-compile-prefix=/usr/local/bin/aarch64-none-elf- shared --prefix=/usr/openssl-custom --openssldir=/usr/openssl-custom...
  5. T

    Other Cross Compiling Rust from Windows To FreeBSD

    I'm trying to cross compile Rust from Windows to FreeBSD. I am running into this when I add [target.x86_64-unknown-freebsd] linker = "rust-lld" to my config (searching online led me to believe rust-lld is a cross compiler I could use for this) led to = note: rust-lld: error: unable to...
  6. fel1x

    Solved Make: Need an operator in .if

    HUGO_ARGS?= --verbose --minify ASCIIDOCTOR_CMD= ${LOCALBASE}/bin/asciidoctor ASCIIDOCTORPDF_CMD= ${LOCALBASE}/bin/asciidoctor-pdf ROUGE_CMD= ${LOCALBASE}/bin/rougify .if !exists(${ASCIIDOCTOR_CMD}) || !exists(${ASCIIDOCTORPDF_CMD}) || !exists({ROUGE_CMD}) @echo "Please install asciidoctor...
  7. T

    Other Lazarus and Free Pascal

    A couple of months ago I switched from using Embarcadero's Delphi 10.x to Lazarus and Free Pascal (easily installed from the ports tree editors/lazarus which automatically installs the Free Pascal Compiler and needed source) mainly to be able to create 64 bit macOS applications due to the much...
  8. goshanecr

    What is the right approach to build ports with i386 CPU features on a 64bit machine?

    Good day! I have a far placed (in a village), old PC based on a Pentium-III. And I want to generate a simple FreeBSD based system on it. How I do that: 1. On my home PC (Ryzen based), I'm start Virtualbox instance with FreeBSD 12-RELEASE i386. 2. I add CPUTYPE?=pentium3 on /etc/make.conf 3. I...
  9. j4ck

    Cross compiling a specific module for BBB

    How can I cross compile a specific driver for BeagleBone Black (BBB). e.g. /usr/src/sys/modules/usb/smsc/? I tried make TARGET_ARCH=armv6 but I found out that this is not correct. Am I missing something?