[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Axiom-developer] AldorForAxiom
From: |
Ralf Hemmecke |
Subject: |
Re: [Axiom-developer] AldorForAxiom |
Date: |
Wed, 15 Mar 2006 23:10:00 +0100 |
User-agent: |
Thunderbird 1.5 (X11/20051201) |
Thank you, Bill.
Now I've got runtime.o. Step 9 took about half an hour on a 1.6 GHz
Centrino Laptop with 512 MB ;-).
But I still wonder why all these .o files are needed for the execution
inside Axiom. I could understand .ao files, but .o files?
Interestingly, when I say ")co fact.as" Axiom prints:
Compiling AXIOM source code from file /home/hemmecke/fact.as using
AXIOM-XL compiler and options
-O -Fasy -Fao -Flsp -laxiom -Mno-AXL_W_WillObsolete -DAxiom -Y
$AXIOM/algebra
Use the system command )set compiler args to change these
options.
And if I then look into my directory I see.
>ls fact*
fact.ao fact.as fact.asy fact.fn fact.lsp fact.o
Where did the .o file come from? So ")co fact.as" is not the same as
calling "aldor ABOVE_COMPILER_OPTIONS fact.as". Where should I look to
make ")compile" more transparent to me.
And someone tell what happens when I execute "fact 4" in Axiom after
compiling ")co fact.as"? I always believed that Axiom executes LISP
code. So why is there any need for a .o file?
Or are all these .o files just there so that I can produce standalone
programs that run without AXIOM? That should in priciple be possible
once I have libaxiom.al, I just haven't tried it yet.
Ralf
On 03/15/2006 07:14 PM, Bill Page wrote:
On March 15, 2006 12:31 PM Ralf Hemmecke wrote:
I can compile the file fact.as given on the above website,
but when I type
(1) -> fact 4
I get the message
>> System error:
Cannot open the file
/home/hemmecke/OTHER/Axiom/axiom--main--1/mnt/linux/aldor/lib/
runtime.o.