1 |
george 07/10/05 21:54:21 |
2 |
|
3 |
Modified: dev_reference.xml |
4 |
Log: |
5 |
typo and formatting fixes |
6 |
|
7 |
Revision Changes Path |
8 |
1.4 xml/htdocs/proj/en/prog_lang/ada/dev_reference.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/prog_lang/ada/dev_reference.xml?rev=1.4&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/prog_lang/ada/dev_reference.xml?rev=1.4&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/prog_lang/ada/dev_reference.xml?r1=1.3&r2=1.4 |
13 |
|
14 |
Index: dev_reference.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/prog_lang/ada/dev_reference.xml,v |
17 |
retrieving revision 1.3 |
18 |
retrieving revision 1.4 |
19 |
diff -u -r1.3 -r1.4 |
20 |
--- dev_reference.xml 5 Oct 2007 20:51:32 -0000 1.3 |
21 |
+++ dev_reference.xml 5 Oct 2007 21:54:20 -0000 1.4 |
22 |
@@ -81,7 +81,7 @@ |
23 |
<title>General notes.</title> |
24 |
<body> |
25 |
<p> |
26 |
- The <c>gnatbuildeclass</c> has been modelled after the <c>toolchain.eclass</c>, |
27 |
+ The <c>gnatbuild.eclass</c> has been modelled after the <c>toolchain.eclass</c>, |
28 |
similarly providing multiple SLOTs tracking the gcc backend variations. One additional |
29 |
"complication" that we have in Ada case is that there are two related, however different |
30 |
compilers available, as mentioned above. These are provided as separate packages, |
31 |
@@ -118,18 +118,18 @@ |
32 |
in portage to see all of the code): |
33 |
</p> |
34 |
<pre caption="Setting up bootstrap environment in gnatbuild.eclass"> |
35 |
- <comment> # Set some paths to our bootstrap compiler.</comment> |
36 |
- export <ident>PATH</ident>=<const>"${GNATBOOT}/bin:${PATH}"</const> |
37 |
- <comment># !ATTN! the *installed* compilers have ${PN} as part of their |
38 |
- # LIBPATH, while the *bootstrap* uses hardset "gnatgcc" in theirs |
39 |
- # (which is referenced as GNATLIB below)</comment> |
40 |
+ <comment># Set some paths to our bootstrap compiler.</comment> |
41 |
+ export <ident>PATH</ident>=<const>"${GNATBOOT}/bin:${PATH}"</const> |
42 |
+ <comment># !ATTN! the *installed* compilers have ${PN} as part of their |
43 |
+ # LIBPATH, while the *bootstrap* uses hardset "gnatgcc" in theirs |
44 |
+ # (which is referenced as GNATLIB below)</comment> |
45 |
<ident>GNATLIB</ident>=<const>"${GNATBOOT}/lib/gnatgcc/${BOOT_TARGET}/${BOOT_SLOT}"</const> |
46 |
|
47 |
- export CC="${GNATBOOT}/bin/gnatgcc" |
48 |
- export INCLUDE_DIR="${GNATLIB}/include" |
49 |
- export LIB_DIR="${GNATLIB}" |
50 |
- export LDFLAGS="-L${GNATLIB}" |
51 |
- ... |
52 |
+ export <ident>CC</ident>=<const>"${GNATBOOT}/bin/gnatgcc"</const> |
53 |
+ export <ident>INCLUDE_DIR</ident>=<const>"${GNATLIB}/include"</const> |
54 |
+ export <ident>LIB_DIR</ident>=<const>"${GNATLIB}"</const> |
55 |
+ export <ident>LDFLAGS</ident>=<const>"-L${GNATLIB}"</const> |
56 |
+ ... |
57 |
</pre> |
58 |
|
59 |
<p> |
60 |
|
61 |
|
62 |
|
63 |
-- |
64 |
gentoo-commits@g.o mailing list |