Overview
Comment:Tidied up library search paths, now assumes that system libraries are set up correctly.
For Debian, this means installing the following: blas-dev, fftw-dev, lapack-dev, libncurses5-dev, libkpathsea-dev, libreadline-dev
It may also be necessary to run /sbin/ldconfig on the relevant directories (especially Octave's).
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: c9e54fdc43922d14dc797a2c4160c5c0cb665f44db3e4ec870693e6ec6fbeb93
User & Date: geraint@users.sourceforge.net on 2002-04-02 09:16:39
Other Links: branch diff | manifest | tags
Context
2002-04-03
08:36:44
Fixed size of gnuplot x11 window (400x300) to prevent window manager from creating very, very tiny plots. check-in: 0b4b76fad5 user: geraint@users.sourceforge.net tags: origin/master, trunk
2002-04-02
09:16:39
Tidied up library search paths, now assumes that system libraries are set up correctly.
For Debian, this means installing the following: blas-dev, fftw-dev, lapack-dev, libncurses5-dev, libkpathsea-dev, libreadline-dev
It may also be necessary to run /sbin/ldconfig on the relevant directories (especially Octave's).
check-in: c9e54fdc43 user: geraint@users.sourceforge.net tags: origin/master, trunk
2002-03-26
12:11:12
Added abs => fabs rule. check-in: b71c0fac8f user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/mttrc from [c17dd0c954] to [f41c538d71].

11
12
13
14
15
16
17



18
19
20
21
22
23
24
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27







+
+
+









###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.24  2001/10/15 14:28:35  gawthrop
## Now has . at start of components library path $MTT_COMPONENTS
##
## Revision 1.23  2001/07/24 22:32:49  gawthrop
## Use gv, not ghostview
##
## Revision 1.22  2001/04/12 03:08:00  geraint
## Improved sh->csh conversion, reduces environment namespace pollution.
## Still need to do proper if [ -z $MTT_BASE ] ... else ... fi conversion.
##
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193

194
195
196
197
198


199
200
201

202
203
204
205
206
207
208
209
210
211
212
213
214

215
216
217
177
178
179
180
181
182
183

184
185






186
187
188

189
190
191
192


193
194



195

196
197
198
199
200
201
202
203
204
205
206

207
208
209
210







-


-
-
-
-
-
-



-
+



-
-
+
+
-
-
-
+
-











-
+



    export MKOCTFILE=mkoctfile

  # ode2odes.exe stuff

    # local system

    PLAT="i686-pc-linux-gnu"
#    PREFIX="/usr/local"
    PREFIX="/usr"
    GCCVERS="2.95.2"
    SRCOCTAVE="/cvs/octave"

#    PLAT="mips-sgi-irix6.5"
#    PREFIX="/usr/people/bevangp/GNU"
#    GCCVERS="2.95.2"
#    SRCOCTAVE="${PREFIX}/../build/octave-2.1.33"

    # include paths

    IOCTAVE="-I${PREFIX}/include/octave"
    IOCTAVE="-I${PREFIX}/include/octave/ -I${PREFIX}/include/octave/octave"

    # library paths

#    LOCTAVE="-L${PREFIX}/lib/octave -loctave -lcruft -loctinterp"
    LOCTAVE="-L${PREFIX}/lib/octave -loctave -lcruft -loctinterp"
    OCTAVEVERS=`octave --version | awk '{ print $4 }'`
    LOCTAVE="-L${PREFIX}/lib/octave-${OCTAVEVERS} -loctave -lcruft -loctinterp"
    LKPATHSEA="-L${SRCOCTAVE}/kpathsea -lkpathsea"
    LREADLINE=" -L${SRCOCTAVE}/readline -lreadline"
    LSYSTEM="-ldl -lm -lncurses"
    LSYSTEM="-ldl -lm -lncurses -lkpathsea -lreadline -lblas -llapack -lfftw -lg2c"
    LF2C="-L${PREFIX}/lib/gcc-lib/${PLAT}/${GCCVERS} -lg2c"

    # compiler options

    DEBUG="-g"
    OPTIM="-O3"
    FLAGS="-fno-rtti -fno-exceptions -fno-implicit-templates"

    # exported variables

    export MTT_CXX="g++"
    export MTT_CXXFLAGS="${DEBUG} ${OPTIM} ${FLAGS}"
    export MTT_CXXLIBS="${LOCTAVE} ${LKPATHSEA} ${LREADLINE} ${LF2C} ${LSYSTEM}"
    export MTT_CXXLIBS="${LOCTAVE} ${LSYSTEM}"
    export MTT_CXXINCS="-I. ${IOCTAVE}"
    export MTT_LDFLAGS=" "
fi


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]