|
From: | Ralf Hemmecke |
Subject: | Re: [Axiom-developer] Spad and its object model |
Date: | Mon, 11 Jun 2007 20:22:45 +0200 |
User-agent: | Thunderbird 2.0.0.0 (X11/20070326) |
Hi Franz, that is a question that should be sent to address@hidden
I got http://wiki.axiom-developer.org/public/aldor-linux-x86_64-v1.0.2.bin and so far it works fine from with in axiom (debian etch amd64). Is this a true 64bit version?
however with your instructions I getaldor -laldor -fo -fao aaa.ascc1: error: unrecognized command line option "-fwritable-strings"#1 (Fatal Error) C compile failed. Command was: unicl -I/usr/opt/AxiomAldor-1.0.2/aldor/linux/1.0.2/include -c aaa.c#1 (Warning) Removing file `aaa.c'. Is this one of the errors http://www.aldor.org/pipermail/aldor-l/2005-June/000074.html talks about? Franz
I think it is rather a problem with gcc 4.0. To be more precise: The C-code produced by the Aldor compiler must be compiled with gcc 3.3 or so. gcc4.0 does not work.
On my debian machine I have installed an older gcc and use that for Aldor. You have to modify $ALDORROOT/include/aldor.conf at the section [linux]. Here comes what I have. ---------------------------- [linux] inherit = linuxcore # these enforce ieee # ieee-opts = -ffloat-store -mieee-fp ieee-opts = -ffloat-store fast-opts = -ffast-math -O2 cc-name = gcc-3.3 link-name = gcc-3.3 ---------------------------- The last two lines are interesting for you. woodpecker:/usr/bin>ll gcc* lrwxrwxrwx 1 root root 7 2007-04-19 16:47 gcc -> gcc-4.1 -rwxr-xr-x 1 root root 74104 2006-07-13 18:47 gcc-2.95 -rwxr-xr-x 1 root root 80976 2007-01-03 19:48 gcc-3.3 -rwxr-xr-x 1 root root 183444 2006-12-10 15:46 gcc-4.1 lrwxrwxrwx 1 root root 10 2007-04-19 16:47 gccbug -> gccbug-4.1 -rwxr-xr-x 1 root root 15963 2007-01-03 19:42 gccbug-3.3 -rwxr-xr-x 1 root root 16283 2006-12-10 15:44 gccbug-4.1 -rwxr-xr-x 1 root root 2018 2006-12-20 03:02 gccmakedep Hope that lets you use Aldor now. Ralf
[Prev in Thread] | Current Thread | [Next in Thread] |