-
-
Notifications
You must be signed in to change notification settings - Fork 235
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
Unable to runtime compile with a non-default gcc #53
Comments
Thanks for the input - indeed this one has been bothering me as well. Adding a general compile command would be a good idea, though I think this separates into two different cases:
This is also complicated somewhat by trying to keep the API relatively similar between POSIX and Windows, though I'm happy to allow some differences as obviously the parameters already differ. Although adding another argument to RunCompile() is a little clumsy since it needs header & source changes for the build and compile classes (with 2 compile classes so far), I don't find this hard to do myself. However a compile context structure seems a good step now these the function parameters have grown this complex. I can fairly easily do this work the next time I get a bit of free time, which may take a few days or potentially more. If you'd like to undertake it yourself then feel free to go ahead, or let me know if you want guidance. |
Yes adding another parameter is not ideal here. wrapping compile parameters into a struct seems to be a better option. No problem I can take a look at it in the next few days. |
I'm interested to find out your opinion about using ProjectSettings instance as the container to pass around compiler settings. The advantage is that it already holds all the compile/link information. Adding new fields is easy too. It can be passed as an argument to BuildTool and RunCompile functions. |
It's 1am here and I'm not capable of a decent response, so I'll get back to On 13 January 2015 at 23:14, kubaroth notifications@github.com wrote:
|
I think the easiest approach would be to create a new struct, and then use that in the ProjectSettings struct, as this would reduce dependencies. |
Hey Doug, hope you haven't started working on this issue. |
Thanks! Sounds good - I can do any work for Windows if needed. On 22 January 2015 at 08:46, kubaroth notifications@github.com wrote:
|
Closed via #58 |
Hello,
It seems that the runtime compilation only allows using default g++ and there is no way to override the compiler location.
Passing a custom location to the hardcoded compile command (in Compiler_PlatformPosix.cpp) would be a nice improvement.
Is there any better way then passing another argument to the RunCompile() function? It feels the code has to be updated in multiple places.
The text was updated successfully, but these errors were encountered: