-
Notifications
You must be signed in to change notification settings - Fork 0
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 support on Windows #55
Comments
@rwmcintosh We should try the GCC on Windows. If it works - I don't see a reason, why we really would need MSVC. |
so maybe we should keep MSVC on Windows :) |
They are all compiled with I'm pretty sure that's all that's needed for the interfaces to be compatible. But I'm not sure about the dependencies. Until recently, GCC was a build option for rClr on Windows, so I think it should still work. |
@Yuri05 @PavelBal @georgeDaskalakis @msevestre
Until recently, the rClr package could be compiled using GCC on Windows. We were not using that, and some of the build scripting that supported that is gone.
However, we will always need to support GCC builds for Linux.
There is at least one case we know of where we've had to make an accommodation due to MSVC lack of support for a C++ extension that GCC does support (we are compiling on Windows with R_LEGACY_RCOMPLEX defined).
From the include file supplied by R (Rinternals.h). In the end, we use the simpler
typedef struct
instead oftypedef union
with an anonymous struct.I'm not sure of the impact, but in any case, it took some work for us to find this fix when we upgraded the R version and R headers we are compiling against.
Second question is - if we decide to support GCC on Windows, should we also support MSVC? It sure is handy for debugging. I've never used VS to cross-compile, but maybe that would work just using GCC instead of MSVC?
The text was updated successfully, but these errors were encountered: