Debian Codegraph @

debian/README.snapshot

raw
1 Debian gcc-snapshot package
2 ===========================
3
4 This package contains a recent development SNAPSHOT of all files
5 contained in the GNU Compiler Collection (GCC).
6
7 DO NOT USE THIS SNAPSHOT FOR BUILDING DEBIAN PACKAGES!
8
9 This package will NEVER hit the testing distribution. It's used for
10 tracking gcc bugs submitted to the Debian BTS in recent development
11 versions of gcc.
12
13 To use this snapshot, you should set the following environment variables:
14
15 LD_LIBRARY_PATH=/usr/lib/gcc-snapshot/lib:$LD_LIBRARY_PATH
16 PATH=/usr/lib/gcc-snapshot/bin:$PATH
17
18 You might also like to use a shell script to wrap up this
19 funcationality, e.g.
20
21 place in /usr/local/bin/gcc-snapshot and chmod +x it
22
23 ----------- snip ----------
24 #!/bin/sh
25 LD_LIBRARY_PATH=/usr/lib/gcc-snapshot/lib:$LD_LIBRARY_PATH
26 PATH=/usr/lib/gcc-snapshot/bin:$PATH
27 rpath=""
28 OLD_IFS="$IFS"
29 IFS=:
30 for i in $LD_RUN_PATH
31 do
32 rpath="$rpath -Wl,-rpath -Wl,$i"
33 done
34 IFS="$OLD_IFS"
35 exec gcc -Wl,-rpath -Wl,/usr/lib/gcc-snapshot/lib \
36 -Wl,-rpath -Wl,/usr/lib/gcc-snapshot/lib32 \
37 -Wl,-rpath -Wl,/usr/lib/gcc-snapshot/libx32 $rpath "$@"
38 ----------- snip ----------
39
40 Make the same for g++, g77, cpp, ...
41
42 Don't forget the quotes around the $@ or gcc will not parse it's
43 command line correctly!
44
45 Unset these variables before building Debian packages destined for an
46 upload to ftp-master.debian.org.