guide for linking from windows
Publié : dim. juil. 30, 2017 12:17 pm
Dear Giac developers,
I have the impression that a selected few have been able to link to the giac library from windows (i.e. first compile the library and the link to it). I have tried doing so in the past and I always seem to fail (I tried cygwin with gcc, visual studio, mingw32 with codeblocks). I think it is wise to ask, before I spend much more time:
1. What would you mostly recommend if I am to compile from windows: mingw (codeblock or not?), gcc (cygwin or not?), visual studio,
2. Once I followed (1) could you please guide me (even if minimally) on linking to the giac library (I assume I need to compile the library.. if this were available pre-compiled, I would be happy enough though!). As much as possible I would like to link dynamically, is this ok?
3. If I get successful I will even go one step ahead and try to make this whole thing work in Visual Studio, as I believe that this is the ultimate goal for any windows developer. But I think I should start one step at a time.
I promise, that once I have gotten this to compile I will write a detailed blog/tutorial for any other person who wishes to compile giac for windows (I haven't seen any so far). For me, giac is very promising because it presents itself as a system that can be compiled and linked from within any operating system and hardware (even those with restricted resources). I therefore would like to support this valuable effort that the developers has put into this computer algebra system. To me it is surprising that giac has not gained as much reputation as it actually deserves (Note: I believe Geogebra uses it and hardly anyone knows that). Since my expertise lies in windows development, I will make sure that this does not go unnoticed in the windows user community. I am trying to convert most of my computer algebra scripts to giac and this has so far worked. If only I could compile C codes with giac under windows I would be overjoyed.
Jose
I have the impression that a selected few have been able to link to the giac library from windows (i.e. first compile the library and the link to it). I have tried doing so in the past and I always seem to fail (I tried cygwin with gcc, visual studio, mingw32 with codeblocks). I think it is wise to ask, before I spend much more time:
1. What would you mostly recommend if I am to compile from windows: mingw (codeblock or not?), gcc (cygwin or not?), visual studio,
2. Once I followed (1) could you please guide me (even if minimally) on linking to the giac library (I assume I need to compile the library.. if this were available pre-compiled, I would be happy enough though!). As much as possible I would like to link dynamically, is this ok?
3. If I get successful I will even go one step ahead and try to make this whole thing work in Visual Studio, as I believe that this is the ultimate goal for any windows developer. But I think I should start one step at a time.
I promise, that once I have gotten this to compile I will write a detailed blog/tutorial for any other person who wishes to compile giac for windows (I haven't seen any so far). For me, giac is very promising because it presents itself as a system that can be compiled and linked from within any operating system and hardware (even those with restricted resources). I therefore would like to support this valuable effort that the developers has put into this computer algebra system. To me it is surprising that giac has not gained as much reputation as it actually deserves (Note: I believe Geogebra uses it and hardly anyone knows that). Since my expertise lies in windows development, I will make sure that this does not go unnoticed in the windows user community. I am trying to convert most of my computer algebra scripts to giac and this has so far worked. If only I could compile C codes with giac under windows I would be overjoyed.
Jose