Michael Somos on Wed, 17 Apr 2002 22:56:38 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

GP Makefile compiling twice


Pari Developers,

I am using the latest CVS and following the recommended instructions
for making the gp software. However, I notice that it seems to be
compiling the source twice. In summary, I do './Configure' ,'make gp',
and 'make install'.

Here is an edited version of the script :

danube:/tmp/local/pari> ./Configure --prefix=/u/home/somos/u/pari
Configuring pari-2.2.3 (DEVELOPMENT VERSION)

[...]

==========================================================================
Extracting examples/Makefile.solaris-sparcv9
Extracting Osolaris-sparcv9/Makefile
Extracting Makefile
Extracting Osolaris-sparcv9/paricfg.h
Extracting Osolaris-sparcv9/../Odos/paricfg.h
Extracting scripts and macros
...in doc
...in emacs
...in misc
==========================================================================
Shall we try to build pari 2.2.3 (development) now (y/n)? [n]
Ok. Type "make install" when you are ready
Bye !
danube:/tmp/local/pari> make gp
cd Osolaris-sparcv9; make gp
make[1]: Entering directory `/tmp/local/pari/Osolaris-sparcv9'
cat ../src/kernel/sparcv8/level0.h ../src/kernel/none/level1.h > pariinl.h

[...]

/usr/local/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer
   -I. -I../src/
headers -I../src/graph -o plotport.o ../src/graph/plotport.c
/usr/ccs/bin/as -P -I. -D__GNUC__ -T -o kernel.o ../src/kernel/sparcv8/level0_sp
arcv8_micro.S
/usr/local/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer
   -I. -I../src/
headers -o mp.o ../src/kernel/none/mp.c

[...]

rm -f ../gp
ln -s Osolaris-sparcv9/gp-dyn ../gp
make[1]: Leaving directory `/tmp/local/pari/Osolaris-sparcv9'
danube:/tmp/local/pari> make install
cd Osolaris-sparcv9; make install
make[1]: Entering directory `/tmp/local/pari/Osolaris-sparcv9'
/usr/local/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer
   -I. -I../src/
headers -o mp.o ../src/kernel/none/mp.c

[...]



Notice that all modules from 'mp.c' on seem to be compiled twice.
Any idea if this is a feature? Shalom, Michael