Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpi2-build.sh fails to run #28

Open
LambdaCalculus37 opened this issue Dec 22, 2022 · 0 comments
Open

rpi2-build.sh fails to run #28

LambdaCalculus37 opened this issue Dec 22, 2022 · 0 comments

Comments

@LambdaCalculus37
Copy link

Trying to build the RPi2 build in Debian-testing (amd64) and the following error comes up any time I try running the rpi2-build.sh script:

arm-none-eabi-gcc -march=armv7-a -mtune=cortex-a7 -mfloat-abi=hard -Wall -Wno-psabi -fsigned-char -fno-builtin -nostdinc -nostdlib -std=gnu99 -undef -DRASPPI=2 -I ../include -O -c -o uspilibrary.o uspilibrary.c cc1: error: '-mfloat-abi=hard': selected architecture lacks an FPU make: *** [../Rules.mk:49: uspilibrary.o] Error 1

I haven't tried yet, but I wonder if changing the value of -mfloat would allow it to build? It's odd, though; AFAIK there is an FPU on the Pi2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant