cross compile

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