gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bare metal Modula-2 on a Raspberry Pi-4 64 bit mode (Embedded aarch6


From: Robert Roland
Subject: Re: Bare metal Modula-2 on a Raspberry Pi-4 64 bit mode (Embedded aarch64)
Date: Mon, 6 Sep 2021 22:19:16 +0000

I get an error during the build, unfortunately. Same one I've gotten in the past when trying to create a cross-compiler that involves C++. I'm on openSUSE with GCC 11.2.1.

checking whether the /home/rroland/src/build-m2-cross/build-gcc/./gcc/xgcc -B/home/rroland/src/build-m2-cross/build-gcc/./gcc/ -B/home/rroland/opt-gcc-12/cross/aarch64-linux/bin/ -B/home/rr
oland/opt-gcc-12/cross/aarch64-linux/lib/ -isystem /home/rroland/opt-gcc-12/cross/aarch64-linux/include -isystem /home/rroland/opt-gcc-12/cross/aarch64-linux/sys-include    linker (/home/rr
oland/src/build-m2-cross/build-gcc/./gcc/collect-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
make[2]: *** [Makefile:14653: configure-target-libssp] Error 1


From: Gaius Mulley <gaius.mulley@southwales.ac.uk>
Sent: Monday, September 6, 2021 7:03 AM
To: Robert Roland <rob.roland@outlook.com>
Cc: gm2@nongnu.org <gm2@nongnu.org>
Subject: Bare metal Modula-2 on a Raspberry Pi-4 64 bit mode (Embedded aarch64)
 
Robert Roland <rob.roland@outlook.com> writes:

> Is it possible to build gm2 for an AArch64 embedded host? I have the
> aarch64-elf toolchain from Linaro installed.
>
> I haven't had much luck - I was wanting to experiment with m2min, but
> it seems to need a working C++ compiler.
>
> Thanks,
>
> Robert

Hi,

I thought this might be of interest as a proof of concept to show gm2
can now be built as a cross compiler (either targeting GNU/Linux or
targeting bare metal).

  https://na01.safelinks.protection.outlook.com/?url="">
 
https://na01.safelinks.protection.outlook.com/?url="">

and

  git clone
https://na01.safelinks.protection.outlook.com/?url="">

enjoy,
Gaius

reply via email to

[Prev in Thread] Current Thread [Next in Thread]