Open LambdaCalculus37 opened 1 year ago
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.
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.