Skip to content
This repository has been archived by the owner on Nov 14, 2021. It is now read-only.

[Enhancement] Option to use gcc instead of AppleClang #49

Open
terabyte25 opened this issue Jan 22, 2019 · 3 comments
Open

[Enhancement] Option to use gcc instead of AppleClang #49

terabyte25 opened this issue Jan 22, 2019 · 3 comments

Comments

@terabyte25
Copy link

terabyte25 commented Jan 22, 2019

In order to compile OpenMW with gcc, dependencies must be compiled with gcc as well due to linking errors and the compiler not being able to understand the argument "--stdlib"

@nikolaykasyanov
Copy link
Member

Thanks for suggestion! My only concern is that there are some Objective-C++ files in OSG (and OpenMW itself), how well does GCC deal with Apple's Objective-C SDKs and Objective-C in general?

@terabyte25
Copy link
Author

terabyte25 commented Jan 30, 2019

@nikolaykasyanov https://stackoverflow.com/questions/42308511/how-to-compile-objective-c-in-gcc
I am not sure about performance; but gcc can definitely compile it.

Most of them are for iOS use I think. Unless someone wants to write an objective c++ wrapper for OpenMW to port it to iOS platforms, it won't really be of any use.

Also OpenMW does not have objective c of any kind. OSG does though.

@nikolaykasyanov
Copy link
Member

@terabyte25 thanks!

I've played with GCC a bit and it seems to be supporting macOS-specific stuff pretty well. I'd happily accept a PR making it possible to use GCC.

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

No branches or pull requests

2 participants