Re: [LFS Trac] #5782: Move pcre from BLFS to LFS
| Newsgroups | gmane.linux.lfs.book |
|---|---|
| Message-ID | <[email protected]> |
#5782: Move pcre from BLFS to LFS
-------------------------+-----------------------
Reporter: Bruce Dubbs | Owner: lfs-book
Type: enhancement | Status: new
Priority: normal | Milestone: 12.5
Component: Book | Version: git
Severity: normal | Resolution:
Keywords: |
-------------------------+-----------------------
Comment (by zeckma):
To [ticket:5782 Thomas Trepl], for MLFS, this will need m32 and mx32
steps.
It is as simple as adding:
{{{
CC="gcc -m32" CXX="g++ -m32" \
PKG_CONFIG_PATH="/usr/lib32/pkgconfig" \
...
}}}
And specifying `--host=i686-pc-linux-gnu`. Of course, m32 specific. Simply
changing the arch to mx32 will work for mx32. The installation step is
typical to most of it's ilk, such as:
{{{
make DESTDIR=$PWD/DESTDIR install &&
cp -vR DESTDIR/usr/lib32/* /usr/lib32 &&
rm -rf DESTDIR
}}}
For a more in-depth reference, see https://glfs-
book.github.io/glfs/shareddeps/pcre2.html which includes a lib32 (m32)
step.
--
Ticket URL: <https://wiki.linuxfromscratch.org/lfs/ticket/5782#comment:1>
LFS Trac <https://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page