File: mkrpm

package info (click to toggle)
giac 1.4.9.69%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 39,972 kB
  • sloc: cpp: 300,374; ansic: 18,433; lex: 1,213; yacc: 821; makefile: 752; sh: 327; perl: 314; lisp: 216; java: 41; sed: 16; csh: 7
file content (24 lines) | stat: -rw-r--r-- 1,742 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Hints for building rpm packages:
Check giac.specs and giac.specs32
NB 32 bits: export CXXFLAGS='-m32 -I/usr32/include'
            export CFLAGS='-m32 -I/usr32/include'
            export LDFLAGS='-L/usr32/lib -lX11'
	    
preparation:
  rpmbuild -bp --short-circuit giac.specs
compilation:
  rpmbuild -bc --short-circuit giac.specs
installation:
  rpmbuild -bi --short-circuit giac.specs
make package
  rpmbuild -bb --short-circuit giac.specs

make all:
  rpmbuild -ba giac.specs
  bug gcc 4.7: stopper le process apres configuration, et faire
/bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -DIN_GIAC -I. -I.. -I. -I..       -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fno-strict-aliasing -DGIAC_GENERIC_CONSTANTS -c -o prog.lo prog.cc
/bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -DIN_GIAC -I. -I.. -I. -I..       -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fno-strict-aliasing -DGIAC_GENERIC_CONSTANTS -c -o usual.lo usual.cc
OU
  rpmbuild --target=i386 giac.specs32
/bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -DIN_GIAC -I. -I.. -I. -I..       -g -m32 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fno-strict-aliasing -DGIAC_GENERIC_CONSTANTS -c -o prog.lo prog.cc
/bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -DIN_GIAC -I. -I.. -I. -I..       -g -m32 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fno-strict-aliasing -DGIAC_GENERIC_CONSTANTS -c -o usual.lo usual.cc