Before I start asking.. let me write that I get the source from here:
https://www-fourier.ujf-grenoble.fr/~pa ... stable.tgz
This will be the latest stable with bugfixes I hope.
I have asked before how to compile with cygwin and I was greatly helped by Bernard. I am not sure if everything will work, but so far I could link to giac dll. Now, though, I want to move one step ahead and try to get independent of cygwin. So I tried using codeblocks with gcc. In windows alloca or alloca.h does not exist (I believe _alloca is defined but not recommended). Now, in the config there is an option called HAVE_ALLOCA and HAVE_ALLOCA_H. These two do not seem to affect the code. Thus, compiling (without cygwin) in windows will give the first error (after tweaking the config.h file)
Code : Tout sélectionner
modpoly.cc||In function 'void giac::DivRem(const std::vector<int>&, const std::vector<int>&, int, std::vector<int>&, std::vector<int>&)':| modpoly.cc|2252|error: 'alloca' was not declared in this scope|
PS: Aside from the proper configuration for cygwin (see my last post here). To compile without cygwin I did the following additional changes to config.h:
- removed HAVE_LIBPNG, HAVE_SYS_TIMES_H, HAVE_LIBRT, HAVE_ALLOCA, HAVE_ALLOCA_H