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

gcc: error: unrecognized command-line option ‘-mfloat-abi=hard’ #101

Open
cpnetserver opened this issue Aug 11, 2023 · 1 comment
Open

Comments

@cpnetserver
Copy link

Hi Miegl,
with Raspberry Pi OS 11 (Bullseye) and
Linux cptech 6.1.44-v8+ #1670 SMP PREEMPT Wed Aug 9 11:56:17 BST 2023 aarch64 GNU/Linux, after "make":
gcc -Wall -Wno-multichar -std=gnu99 -c -g -O1 -march=armv7-a -mtune=arm1176jzf-s -mfloat-abi=hard -mfpu=vfp -ffast-math -DRASPI=4 rds.c
gcc: error: unrecognized command-line option ‘-mfloat-abi=hard’
gcc: error: unrecognized command-line option ‘-mfpu=vfp’
make: *** [Makefile:36: rds.o] Error 1
Is there a solution...?
Thanks for reply!

@aaknitt
Copy link

aaknitt commented Oct 31, 2023

I had the same issue when attempting to build on a Pi4 using 64 bit OS.

I was able to build by replacing the makefile with the one from this pull request:
#102

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

2 participants