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

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since c51839c 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
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
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
17  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
18  href="../common/flex.xml"
19  xpointer="xpointer(//*[@role='package'])"/>
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
28<screen os="f"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \
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
35<screen os="h"><userinput>make CC="gcc ${BUILD64} -fPIC" libfl.a
36make</userinput></screen>
37
38    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
39    href="../common/flex.xml"
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
46    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
47    href="../common/flex.xml"
48    xpointer="xpointer(//*[@os='k'])"/>
49
50    <para os="l">There are some packages that expect to find the
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
55<screen os="m"><userinput>ln -sv libfl.a /usr/lib64/libl.a</userinput></screen>
56
57    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
58    href="../common/flex.xml"
59    xpointer="xpointer(//*[@os='n'])"/>
60
61    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
62    href="../common/flex.xml"
63    xpointer="xpointer(//*[@os='o'])"/>
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.