[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Texmacs-dev] Re: TeXmacs 1.0-1 -ffloat-store [Q]
From: |
Ralf Treinen |
Subject: |
Re: [Texmacs-dev] Re: TeXmacs 1.0-1 -ffloat-store [Q] |
Date: |
Sun, 14 Jul 2002 21:59:11 +0200 |
User-agent: |
Mutt/1.4i |
On Sat, Jul 13, 2002 at 11:42:29AM +0200, David Allouche wrote:
> On Friday 12 July 2002 23:19, Joris van der Hoeven wrote:
> > > I may be wrong, but I believe that all TeXmacs releases up to now
> > > compile by default without optimization...
> >
> > Yes, you are wrong in the case of rpm's...
>
> That sounds like the RPM build system (and maybe the Debian and Fink
> ones too) override some standard variables when calling make. It would
> be nice if you could tell me exactly which ones so I can make sure
> that overriding does not disable some flag we *want* to have.
Here is the relevant part from the debian build script. Usinng gcc 3.1
for mips[el] is experimental.
I had to swich off all optimization options for m68k, otherwise
the autobuilders just died on it.
-Ralf.
(TARGET="MIXED_TEXMACS";\
case "$(DEB_BUILD_ARCH)" in\
i386) CXXFLAGS="-O3 -fexpensive-optimizations\
-malign-loops=2 -malign-jumps=2 -malign-functions=2\
-fno-exceptions -fno-rtti -fno-implicit-templates";;\
sparc|sparc64) CXXFLAGS="-O2";;\
powerpc) CXXFLAGS="-O3 -fsigned-char -fno-exceptions\
-fno-rtti -fno-implicit-templates";;\
m68k) CXXFLAGS="-ffloat-store";;\
alpha) CXXFLAGS="-O2";\
TARGET="STATIC_TEXMACS";;\
ia64) CXXFLAGS="-O2";\
TARGET="STATIC_TEXMACS";;\
mips|mipsel) OTHERFLAGS="CC=gcc-3.1 CXX=g++-3.1";\
CXXFLAGS="-O2";;\
*) CXXFLAGS="-O2";;\
esac;\
$(MAKE) \
CXXFLAGS="$$CXXFLAGS" \
LDBSTATIC="-lltdl" \
$$OTHERFLAGS \
$$TARGET;\
)