Anda Singer (anda++at++CS.Technion.AC.IL)
Tue, 3 Feb 1998 23:42:21 +0200 (IST)
I compiled our loader to N32 so I can load the objects and see them with
perfly, Performer 2.2 on ONYX2. The same loader, compiled at o32, workes
fine with perfly - performer 2.1 on O2.
The perfly on performer 2.2 is:
ELF N32 MSB mips-3 dynamic executable (not stripped) MIP
S - version 1
The loader is:
ELF N32 MSB mips-4 dynamic lib MIPS - version 1
What should I change in the Makefile so the loader will be mips-3?
Thanks,
Anda
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Anda Singher anda++at++cs.technion.ac.il
tel: 04-8293905
http://www.cs.technion.ac.il/~anda/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#!smake -J 1
-------------------------------------#
akefile for libpfdat -- the Irit file loader
--#
--------------------------------------------#
#-- RCS version information
--#
1.20 $
--#
--#
---------------------------------------------
-------------#
-----------------------------------------#
-- The default make target makes optimized li
braries. --#
s are:
--#
or debug) --#
optimized libraries: opt (or optimize)
--#
ct libraries: dso --#
remove all unneeded files after a build: cle
an --#
generated files: clobber --#
------------------------#
ions
Y = libpfdat
E = N32
CT_STYLE = 64
endif
= N32_M3
#if $(PFSTYLE) == "32"
LIBBITSUF=
$(ROOT)/usr/include/make/commondefs
it include & libraries
sc2/gershon/irit/onyx64
misc2/gershon/irit/indy
irclink/circlink.o
ib
bsd -lmalloc -lgeom -lprsr -ltrim \
-lsymb -lcagd -lmisc -lxtra -lm
-g -xansi -mips3 -n32 -DOPENGL -nostdinc -I
/usr/include -I$(IRIT)/include -O -Olimit 200
0 -MDupdate Makedepend
3 -n32 -DOPENGL -nostdinc -I/usr/include -I
$(IRIT)/include Makedepend
xansi -mips3 -n32 -DOPENGL -nostdinc
-I/usr/include/CC -I/usr/include -I$(IRIT)/i
nclude -O -Olimit 2000 -MDupdate Makedepend
en loaders
bpf_*.so and libpfdu_*.so)
.0
t {some are in the common directory}
= \
FreeForm.o\
c targets
version of library by default
o
bg opt dso ddso oglopt ogldso ogldbg oglddso
ean:
en cd DBG.$(PFRELEASE).IRISGL ; rm -f ${OBJEC
TS} Makedepend core so_locations; cd .. ; fi
DBG.$(PFRELEASE).OPENGL ; rm -f ${OBJECTS} M
akedepend core so_locations; cd .. ; fi
test -d OPT.$(PFRELEASE).IRISGL; then cd OPT.
$(PFRELEASE).IRISGL ; rm -f ${OBJECTS} Makede
pend core so_locations; cd .. ; fi
-d OPT.$(PFRELEASE).OPENGL; then cd OPT.$(PFR
ELEASE).OPENGL ; rm -f ${OBJECTS} Makedepend
core so_locations; cd .. ; fi
tions
clobber: clean
IRISGL ; then rm -rf DBG.$(PFRELEASE).IRISGL
; fi
hen rm -rf DBG.$(PFRELEASE).OPENGL ; fi
test -d OPT.$(PFRELEASE).IRISGL ; then rm -rf
OPT.$(PFRELEASE).IRISGL ; fi
T.$(PFRELEASE).OPENGL ; then rm -rf OPT.$(PFR
ELEASE).OPENGL ; fi
ts
e library
risGL DBG version of ${LIBRARY}"
! -d DBG.$(PFRELEASE).IRISGL ; then mkdir -p
DBG.$(PFRELEASE).IRISGL ; fi
ELEASE).IRISGL ; ${MAKE} -f ../Makefile OPTIM
IZER=-g LCDEFS=-DIRISGL LCXXDEFS=-DIRISGL \
${LIBRARY}_igl.a
ho "\nmaking OpenGL DBG version of ${LIBRARY}
"
then mkdir -p DBG.$(PFRELEASE).OPENGL ; fi
++at++ cd DBG.$(PFRELEASE).OPENGL ; ${MAKE} -f ../
Makefile OPTIMIZER=-g \
a
rary
PT version of ${LIBRARY}"
T.$(PFRELEASE).IRISGL ; then mkdir -p OPT.$(P
FRELEASE).IRISGL ; fi
.IRISGL ; ${MAKE} -f ../Makefile OPTIMIZER="-
O -Olimit 2000" LCDEFS=-DIRISGL LCXXDEFS=-DIR
ISGL \
E
BRARY}"
NGL ; then mkdir -p OPT.$(PFRELEASE).OPENGL ;
fi
-f ../Makefile OPTIMIZER="-O -Olimit 2000" \
ed version of the library that uses DSOs
dso: .MAKE
n of ${LIBRARY}"
EASE).IRISGL ; then mkdir -p OPT.$(PFRELEASE)
.IRISGL ; fi
${MAKE} -f ../Makefile OPTIMIZER="-O -Olimit
2000" LCDEFS=-DIRISGL LCXXDEFS=-DIRISGL \
${LIBRARY}_igl.so
done"
GL DSO version of ${LIBRARY}"
d OPT.$(PFRELEASE).OPENGL ; then mkdir -p OPT
.$(PFRELEASE).OPENGL ; fi
ASE).OPENGL ; ${MAKE} -f ../Makefile OPTIMIZE
R="-O -Olimit 2000" \
++at++ echo "${LIBRARY}_ogl.so done"
n debugging version of the library that uses
DSOs
DDSO version of ${LIBRARY}"
DBG.$(PFRELEASE).IRISGL ; then mkdir -p DBG.$
(PFRELEASE).IRISGL ; fi
E).IRISGL ; ${MAKE} -f ../Makefile OPTIMIZER=
-g LCDEFS=-DIRISGL LCXXDEFS=-DIRISGL \
BRARY}_igl.so
ne"
DDSO version of ${LIBRARY}"
DBG.$(PFRELEASE).OPENGL ; then mkdir -p DBG.
$(PFRELEASE).OPENGL ; fi
SE).OPENGL ; ${MAKE} -f ../Makefile OPTIMIZER
=-g \
Y}_ogl.so done"
ddso: iglddso
al targets
S}
CTS}
BJECTS}
ck_registry $(DSOREGFILE) $(DSOVERSIONOPT) \
RY}_ogl.so: ${OBJECTS}
ared -all -check_registry $(DSOREGFILE) $(DSO
VERSIONOPT) \
$++at++
.PATH: ..
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:56:43 PDT