-
Notifications
You must be signed in to change notification settings - Fork 46
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
[apple-darwin-osxcross] Issues with symlinks and target location. #81
Comments
Note that all the But with Clang I was able to build the entire Qt framework. Isn't that good enough? I suppose that's the way to go anyways so I would actually drop the GCC build and also use |
Hey @Martchus! Sorry for the long time without answer, too much stuff to do and little time =( I agree with your approach of having multiple I am kinda curious as to how you want to package the SDK now. I tried the procedure from the Also, regarding your previous comment, I don't know what to think. I did a simple qt application and it worked perfectly. When you say there were reports of crashes, there can be multiple reasons. If the code compiles and the app crashes, it feels to me like a lib problem (looking at the wrong places for libs). This was true for me, since I had to look at where the About [1],[2] and [3], I have yet to verify this. So I am leaving this open for now, but hopefully I will finish this week. |
Same here. That's why I didn't make any progress on the osxcross packages.
Of course. Maybe even just a platform specific bug in my application.
I don't know. I'm not really into the topic anymore. By the way, if you can share any improvements, feel free to open a PR here or share a link to your own repository/PKGBUILD. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
After a clean install, I removed the folder where the PKGBUILD was (/home/denisfa/Downloads/apple-darwin-osxcross). Some scripts stopped working. After investigating, I wanted to report some of the errors found:
[1] As you can see, the symlinks are wrong. The osxcross-macports should have been copied to /opt/osxcross/bin and the other symlinks should point to this.
Following this, there was also a problem with x86_64-apple-darwin15-gcc. I tried to do a simple compilation test (attached as test.c).
When debugging this error with strace, I found the following output:
[2] Again, as you can see, the compiler tries to find x86_64-apple-darwin15-as where the PKGBUILD was (/home/denisfa/Downloads/apple-darwin-osxcross/), but it is in /opt/osxcross/bin. The full strace log is also in the zip.
Another linking situation is found on some header file:
This one was a little different, as I can't tell the right solution. Using diff on some files, I tried the following:
[3] This time, the only reason for me to do this was because the diff was empty. If I linked to the right file or not, I have no idea.
I am currently trying to check if this is some issue for the main osxcross repo, but I believe it is more an installation issue. I will update this if that is the case.
all.zip
The text was updated successfully, but these errors were encountered: