fbergama / pigfx

PiGFX is a bare metal kernel for the Raspberry Pi that implements a basic ANSI terminal emulator with the additional support of some primitive graphics functions.
MIT License
275 stars 60 forks source link

Problem building #25

Closed Grumpy666 closed 4 years ago

Grumpy666 commented 4 years ago

I'm trying to build the latest version but get the following error:

cc1: error: '-mfloat-abi=hard': selected processor lacks an FPU

I'm using "arm-none-eabi-gcc (GNU Tools for Arm Embedded Processors 9-2019-q4-major) 9.2.1 20191025 (release) [ARM/arm-9-branch revision 277599]" under MacOS.

Any hints?

chregu82 commented 4 years ago

Are you trying to build the master or the raspi2 branch?

Grumpy666 commented 4 years ago

I have tried both. Same result. I also get the error when trying to build the uspi submodule.

chregu82 commented 4 years ago

Raspi2 branch is work in progress. It won't boot. I checked my gcc version, I'm on 7.4.0, which seems to work. You probably need to change some compiler options for newer gcc, but I'm not sure.

Grumpy666 commented 4 years ago

Ok, I’ll try to dig up an old version of the tool chain.

Thanks

chregu82 commented 4 years ago

PiGFX should now be buildable with the latest toolchain.