[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Texmacs-dev] Re: TeXmacs 1.0-1 -ffloat-store [Q]
From: |
Joris van der Hoeven |
Subject: |
[Texmacs-dev] Re: TeXmacs 1.0-1 -ffloat-store [Q] |
Date: |
Thu, 25 Jul 2002 10:56:44 +0200 (MET DST) |
> On Mon, Jul 22, 2002 at 04:55:09PM +0200, Joris van der Hoeven wrote:
> >
> > OK, so it may be worth experimenting a bit with
> >
> > src/Basic/System/fast_alloc.gen.cc
>
> done that, and it turns out to be a compiler issue.. not sure
> where the bug is but switching from
>
> ##OPTFLAGS="-O3 -fexpensive-optimizations -fno-exceptions -fno-rtti
> -fno-implicit-templates -m68020-60 "
> OPTFLAGS="-O2 -fno-exceptions -fno-rtti -fno-implicit-templates -m68020-60
> "
>
> cures the problem - the compiler was actually quite stable so far.
> Apparently no special flags are needed for m68k.
Thanks for this great news. So I assume that it is OK that I should
use the following entry in configure.in (version 1.0.0.10):
*m68k*)
AC_MSG_RESULT(final setup for a Motorola 68xxx host)
CONFIG_OS="M68K"
CONFIG_OS_SUFFIX="m68k"
CONFIG_CX="$X_CFLAGS"
CONFIG_CXXFLAGS="-m68020-60"
CONFIX_CXXOPTIMIZE="-O2 -ffloat-store"
CONFIG_LFLAGS=""
CONFIG_LSTATIC="-static"
CONFIG_LSHARED="-shared"
CONFIG_LPATH="-Wl,-rpath,"
CONFIG_LX="$X_LIBS -lXext -lX11"
CONFIG_BFLAGS=""
CONFIG_BSTATIC="-Wl,-Bstatic"
CONFIG_BSHARED="-Wl,-Bdynamic"
CONFIG_BPATH="-Wl,-rpath,"
CONFIG_BX="$X_LIBS -lXext -lX11"
CONFIG_WORD_LENGTH="4"
CONFIG_WORD_LENGTH_INC="3"
CONFIG_WORD_MASK="0xfffffffc"
CONFIG_MAX_FAST="260 // WORD_LENGTH more than power of 2"
Please tell me whether
* I should indeed test on *m86k*
* The flag -m68020-60 should go to CONFIG_CXXFLAGS
rather than CONFIX_CXXOPTIMIZE
* Is this flag OK for all 68xxx processors,
or just for yours?
* The flag -ffloat-store should also be used
(I found this in the old TeXmacs.spec)
* All other fields have been copied from the "unknown" architecture.
Is the running speed OK for not too large files?
Thanks a lot again for your valuable contribution;
I will include the right support for *m68k* in TeXmacs-1.0.0.11.
Best wishes, Joris