commit | 035739433ec664b1fa991ffa62f29da677a16e21 | [log] [tgz] |
---|---|---|
author | Travis Geiselbrecht <geist@foobox.com> | Tue May 14 01:18:38 2024 -0700 |
committer | Travis Geiselbrecht <geist@foobox.com> | Tue May 14 01:28:51 2024 -0700 |
tree | 60497cfcbbceff90518d2849c9eb374d721ea330 | |
parent | 1a761abb83fafd4dc6203ed4ffc9b61c4eb362a0 [diff] |
[arch][arm] avoid using -mgeneral-regs-only for arm32 For older compilers (gcc 7.5.0 in particular) avoid using -mgeneral-regs-only to override the floating point switches, since it doesn't seem to understand that switch. Instead more properly add the floating point switches for a module or source file compiled with float. More compatible with all compilers.
The LK kernel is an SMP-aware kernel designed for small systems ported to a variety of platforms and cpu architectures.
See https://github.com/littlekernel/lk for the latest version.
This will get you a interactive prompt into LK which is running in qemu arm machine 'virt' emulation. type 'help' for commands.
Note: for ubuntu x86-64: sudo apt-get install gcc-arm-none-eabi or fetch a prebuilt toolchain from https://newos.org/toolchains/x86_64-elf-13.2.0-Linux-x86_64.tar.xz