cross compile

  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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?