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

-mfpu= Argument not recognised #103

Open
keukenrol opened this issue Feb 9, 2023 · 5 comments
Open

-mfpu= Argument not recognised #103

keukenrol opened this issue Feb 9, 2023 · 5 comments
Labels

Comments

@keukenrol
Copy link

Hi

I have compiled version 3.7 on my raspberry pi 3b+.
When following the compilation guide in the readme, it states to change the add_compile_options line.
I have done this, but the -mfpu argument was not recognised. I did remove it and it compiled without further issues. Software works as expected.

best regards

Tim

@TLeconte
Copy link
Owner

What is your gcc version ?
gcc --version

@keukenrol
Copy link
Author

gcc (Debian 10.2.1-6) 10.2.1 20210110

@TLeconte
Copy link
Owner

TLeconte commented Feb 10, 2023

Not too old.
That's strange because -mfpu is still documented :
https://gcc.gnu.org/onlinedocs/gcc-10.4.0/gcc/ARM-Options.html#ARM-Options

@TLeconte TLeconte added the info label Feb 10, 2023
@0ip
Copy link

0ip commented Feb 17, 2023

@keukenrol Are you running a 64 bit OS? I just had the same problem, removed that argument and it worked

@keukenrol
Copy link
Author

Yes, as commented I did the same thing to get it working.

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

No branches or pull requests

3 participants