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 compilation is not working #420

Open
GamerMine opened this issue Apr 2, 2024 · 1 comment
Open

GCC compilation is not working #420

GamerMine opened this issue Apr 2, 2024 · 1 comment

Comments

@GamerMine
Copy link

GamerMine commented Apr 2, 2024

Every time I try compiling GCC, I get the following error :

configure:3832: error: in `/home/maxime/Programming/C++/osxcross/build/gcc-13.2.0/build/x86_64-apple-darwin23/libgcc':
configure:3834: error: cannot compute suffix of object files: cannot compile

In the console.log I don't have a lot more informations, if you want to take a look at it, here it is:
config.log

Here is some other informations that might be useful:

  • System: Fedora 39
  • MacOS SDK version: 14.0

Thank you =)

@xiedeacc
Copy link

export PATH=/root/src/software/osxcross/target/bin:$PATH
you should set as ar ld manually, for gcc own as ar and ld cannot support macos

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