Re: [open-axiom-help] compiling a function
A system for computer algebra and symbolic mathematics
Brought to you by:
dos-reis
From: Jonathan L. S. <lou...@gm...> - 2009-06-11 18:44:47
|
Gaby, > )lisp (setq compiler::*default-system-p* t) When I execute this command, the result is "Value = T". What especially confuses me is that, in the example I gave originally, the function works correctly on my second attempt. This makes me think that the function is getting compiled ... possibly even correctly. This even works with more complicated function definitions; I get errors, then it works. Louis On Thu, Jun 11, 2009 at 12:55 PM, Gabriel Dos Reis < gd...@in...> wrote: > On Thu, Jun 11, 2009 at 11:44 AM, Jonathan Louis > Sewell<lou...@gm...> wrote: > > Greetings, > > > > I am a first time user. I just downloaded and installed open-axiom on > > Windows XP. I have the follow problem. When trying to define and use a > > function, I get a series of errors. Then, when I use the function, it > > works. This is a problem because it interferes with using an input file > > (otherwise, I would ignore the errors). Have I missed something in the > > setup process? Also, the draw command does not work. I suspect this is > > because I am not using an X Window system. A log of my session is below. > > > > Respectfully, > > Louis > > Dear Louis, > > I'm unable to reproduce the error you're seeing only > because I must have a different set up. > However, it seems the likely cause of the error is the > absence of some basic C header files -- or at least, > GCC pretends not to find them. > > The current version of OpenAxiom for Windows uses GCL > which compiles Lisp code to native code via the C compiler > GCC. For some reason, that compiler is unable to locate > some standard C headers. > > What happens if you do > > )lisp (setq compiler::*default-system-p* t) > > ? > > > -- Gaby > |