2009/6/15 Juergen Schmidt <[email protected]>

> The SDK comes with it's own mini build env that i never have tried with
> cygwin.
>
> In general i would say it will work with some minor changes in the
> configuration to differentiate between a windows shell or 4nt shell and a
> cygwin shell that is more unix like. I should check this ...


Hi Juergen,
thank's a lot for your answer.
So, if you think it's possible, I will test this way of compilation.
If you check this please tell me...


> You should take a look on building OOo under windows using cygwin ...


yes I have read it.


> Once you have setup such a build env it should be easy to compile your
> add-in library as well. The oxt with the necessary config files etc. can you
> setup manually.


Do you think there are some special options to add in gcc command under
windows ?

The compilation under windows is the last (I hope !) problem I have before I
can publish my extension.

If someone want to test my Addin (only compiled for linux 64 bits for the
moment), install it from :
http://cdeval.free.fr/test/CmathOOoComponent.oxt

and in Calc :
exemple 1 :
in cell A1 type : ="1/2"
in cell A2 type : ="1/3"
in cell A3 type : =cadd(A1;A2)
in cell A4 type : =cmul(A1;A3)
and you get sum and product.
Now replace 1/2 and 1/3 by complex numbers "2+3i" and "1-i" and look at
cells A3 and A4
Now replace complex numbers by polynoms  "x^2-1" and "3x+2"

exemple 2:
in cell B1 type =CAS("factor(x^2-1)")
and you get factorisation of x^2-1

My "cas" function is able to return all expressions understood by giac (see
documentation !)
But I implemented some of giac-functions in order to use them with
cell-reference (such as cadd, cmul, csub, cpow, evalf, simplify, solve
etc...).

I'm about to finish, thank's for any help !
-- 
Christophe Devalland

Reply via email to