-
Notifications
You must be signed in to change notification settings - Fork 329
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
undefined errors while compiling fortran code #28
Comments
You need to use
The dynamic way:
The static way:
Still links quadmath dynamically:
If you want to link quadmath static too, run (in osxcross/target):
Use the same flags again:
|
Hi , Thank you |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello ,
I am trying to cross compile simple "hello world" printing fortran code with the following command -
o64-g++ test.f -O3 -o test
and i am getting following errors, i think there should be some library which is missing from being referenced.
"gfortran_set_args", referenced from:
_main in ccunQ19M.o
"__gfortran_set_options", referenced from:
_main in ccunQ19M.o
"__gfortran_st_write", referenced from:
_MAIN in ccunQ19M.o
"gfortran_st_write_done", referenced from:
_MAIN in ccunQ19M.o
"gfortran_transfer_character_write", referenced from:
_MAIN in ccunQ19M.o
ld: symbol(s) not found for architecture x86_64
Thanks & Regards,
Vineet Pant
The text was updated successfully, but these errors were encountered: