I managed to download aldor version 1.1.0 and installed this on a suse 10.1 64 bit system.
cfrangos/axiom> aldor -v Aldor version 1.1.0 for LINUX(glibc2.3) #1 (Warning) No files! Type `aldor -help' for help. Totals: Time 0.0 s Store 592 K pool, 229K alloc - 39K free - 18K gc = 172K final With this version I am getting the following error: cfrangos/axiom> aldor -Fx -laldor aldortest.as "aldortest.as", line 10: nfact :Integer; ^ [L10 C1] #1 (Warning) Suspicious `:'. Do you mean `local' or `default'? /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /home/apps/aldornew/aldor/linux/1.1.0/lib/libaldor.a when searching for -laldor /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: cannot find -laldor collect2: ld returned 1 exit status #1 (Fatal Error) Linker failed. Command was: unicl aldortest.o aldormain.o -L. -L/home/apps/aldornew/aldor/linux/1.1.0/share/lib -L/home/apps/aldornew/aldor/linux/1.1.0/lib -o aldortest -laldor -lfoam #1 (Warning) Removing file `aldortest.o'. #2 (Warning) Removing file `aldormain.o'. I also installed version 1.1.0 on a suse 10.2 32 bit system. It seems to compile a test program but does give a warning: cfrangos/axiom> aldor -Fx -laldor aldortest.as "aldortest.as", line 10: nfact :Integer; ^ [L10 C1] #1 (Warning) Suspicious `:'. Do you mean `local' or `default'? cfrangos/axiom> ./aldortest 100 factorial is :93326215443944152681699238856266700490715968264381621468592963895217599993229915608941463976156518286253697920827223758251185210916864000000000000000000000000 cfrangos/axiom> You emailed me a url of a website where I recall seeing an aldor example program containing references to files/libraries (?) axiom.as, algebra.as, etc. I do not see these files in the aldor version 1.1.0 installation ?? Regards, C. Frangos. #include "aldor" #include "aldorio" import from Integer; --df ==> DoubleFloat; testfact(imax:Integer):Integer == { nfact :Integer; nfact := 1; for i in 1..imax repeat { nfact := nfact*i; --stdout << "The factorial of " << i << " is " << nfact << newline; } return(nfact); } --n := 200000; n := 100; xfact := testfact(n); stdout << n << " factorial is :" << xfact << newline ; On Thursday 15 November 2007 02:00, Bill Page wrote: > Constantine, > > That is a well known (please check the email list archives, that is > what they are there for) incompatibility between the older version of > Aldor and the newer version of gcc - and the reason why the default > value of this parameter is gcc33. You must either upgrade your version > of Aldor or downgrade your version of gcc (install the older version > with the name gcc33). > > Regards, > Bill Page. > > On 11/14/07, Constantine Frangos <[EMAIL PROTECTED]> wrote: > > Hi Ralf, > > > > I changed the [linux] section of aldor.conf to the following (I don't > > have gcc3.3): > > > > #++++++++++++++++++++++++++ > > [linux] > > inherit = linuxcore > > # these enforce ieee > > # ieee-opts = -ffloat-store -mieee-fp > > ieee-opts = -ffloat-store > > fast-opts = -ffast-math -O2 > > # cc-name = gcc32 > > # link-name = gcc32 > > cc-name = gcc > > link-name = gcc > > > > #++++++++++++++++++++++++++ > > > > Now there is the following error: > > > > aldor -Fx -laldor aldortest.as > > cc1: error: unrecognized command line option "-fwritable-strings" > > #2 (Fatal Error) C compile failed. Command was: unicl > > -I/home/apps/aldornew/aldor/linux/1.0.3/include -c aldortest.c > > "aldortest.as", line 10: nfact :Integer; > > ^ > > [L10 C1] #1 (Warning) Suspicious `:'. Do you mean `local' or `default'? > > > > #1 (Warning) Removing file `aldortest.c'. > > cfrangos/axiom> > > > > On Wednesday 14 November 2007 12:34, Ralf Hemmecke wrote: > > > Hi Constantine, > > > > > > What you see is coming from $ALDORROOT/include/aldor.conf. > > > Since you are using Linux, you have to look into the [linux] section of > > > that file. > > > > > > I guess there you see > > > > > > cc-name = gcc32 > > > link-name = gcc32 > > > > > > Now, although Laurentiu Dragan from Aldor.org claims that Aldor should > > > work with GCC4, I (personally) don't trust this. Thus, I've installed > > > gcc-3.3 into /usr/bin/ on my machine and modified aldor.conf to contain > > > the lines > > > > > > cc-name = gcc-3.3 > > > link-name = gcc-3.3 > > > > > > instead. > > > > > > That should do the job. > > > > > > Ralf > > > > > > On 11/13/2007 11:04 PM, Bill Page wrote: > > > > Constantine, > > > > > > > > What do you see when you type > > > > > > > > ... ~> gcc --version > > > > > > > > The result should be something like: > > > > > > > > [EMAIL PROTECTED]:~> gcc --version > > > > gcc (GCC) 4.1.2 20061115 (prerelease) (SUSE Linux) > > > > ... > > > > > > > > If you do not see this, then maybe you have not installed the > > > > Gnu C (gcc) compiler as required by Aldor. > > > > > > > > Regards, > > > > Bill Page. > > > > > > > > On 11/13/07, Constantine Frangos wrote: > > > >> I installed aldor under suse 10.2 (32 bit) but am getting the > > > >> following error with the test program below: > > > >> > > > >> aldor -Fx -laldor aldortest.as > > > >> sh: gcc32: command not found > > > >> #2 (Fatal Error) C compile failed. Command was: unicl > > > > -- > > Constantine Frangos, Pr.Eng. > > Professor > > Dept. of Mathematics and Statistics > > University of Johannesburg > > Auckland Park Kingsway Campus > > P O Box 524 > > Auckland Park > > Johannesburg 2006 > > South Africa > > > > Tel: +27-11-559-2452 > > Fax: +27-11-559-2832 > > e-mail: [EMAIL PROTECTED] , [EMAIL PROTECTED] -- Constantine Frangos, Pr.Eng. Professor Dept. of Mathematics and Statistics University of Johannesburg Auckland Park Kingsway Campus P O Box 524 Auckland Park Johannesburg 2006 South Africa Tel: +27-11-559-2452 Fax: +27-11-559-2832 e-mail: [EMAIL PROTECTED] , [EMAIL PROTECTED] _______________________________________________ Axiom-math mailing list Axiom-math@nongnu.org http://lists.nongnu.org/mailman/listinfo/axiom-math