source: BOOK/final-system/multilib/flex-64bit.xml@ b1b641c

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since b1b641c was c51839c, checked in by Joe Ciccone <jciccone@…>, 17 years ago

Build a PIC libfl.a with flex.

  • Property mode set to 100644
File size: 2.2 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[3f8be484]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-flex" role="wrap">
9 <?dbhtml filename="flex-64bit.html"?>
10
11 <title>Flex-&flex-version; 64 Bit</title>
12
13 <indexterm zone="ch-system-flex">
14 <primary sortas="a-Flex">Flex</primary>
15 </indexterm>
16
[1cd688b]17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
18 href="../common/flex.xml"
19 xpointer="xpointer(//*[@role='package'])"/>
[3f8be484]20
21 <sect2 role="installation">
22 <title>Installation of Flex</title>
23
24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
25 href="flex.xml"
26 xpointer="xpointer(//*[@os='e'])"/>
27
[e0e40d3]28<screen os="f"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \
[3f8be484]29 --libdir=/usr/lib64</userinput></screen>
30
31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
32 href="flex.xml"
33 xpointer="xpointer(//*[@os='g'])"/>
34
[c51839c]35<screen os="h"><userinput>make CC="gcc ${BUILD64} -fPIC" libfl.a
36make</userinput></screen>
[3f8be484]37
38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[e0e40d3]39 href="../common/flex.xml"
[3f8be484]40 xpointer="xpointer(//*[@os='i'])"/>
41
42 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
43 href="flex.xml"
44 xpointer="xpointer(//*[@os='j'])"/>
45
[e0e40d3]46 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[77ce7fd]47 href="../common/flex.xml"
[e0e40d3]48 xpointer="xpointer(//*[@os='k'])"/>
49
50 <para os="l">There are some packages that expect to find the
[3f8be484]51 <filename class="libraryfile">lex</filename> library in <filename
52 class="directory">/usr/lib64</filename>. Create a symlink to account for
53 this:</para>
54
[94e6142]55<screen os="m"><userinput>ln -sv libfl.a /usr/lib64/libl.a</userinput></screen>
[3f8be484]56
57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
58 href="../common/flex.xml"
[e0e40d3]59 xpointer="xpointer(//*[@os='n'])"/>
[3f8be484]60
61 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
62 href="../common/flex.xml"
[e0e40d3]63 xpointer="xpointer(//*[@os='o'])"/>
[3f8be484]64
65 </sect2>
66
67 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
68 href="../common/flex.xml"
69 xpointer="xpointer(id('contents-flex'))"/>
70
71</sect1>
Note: See TracBrowser for help on using the repository browser.