M4
From Genunix
m4
- A simple theme based on m3
Contents |
[edit]
Rating
4 points (out of 4)
Rating scheme: 4 points means the source builds seamlessly on Solaris Express (OpenSolaris). Points are subtracted as follows:
- Minus 1 if the source doesn't come with an automated way to localize the build (e.g. configure)
- Minus 1 if the source won't compile with Sun's cc (this usually means the code is gcc-centric)
- Minus 1 if a minor patch is required, or
- Minus 2 if a major patch(es) is required
[edit]
How to build m4-1.4.4 on Solaris Express
[edit]
Build Environment (platform, compiler, tools, PATH, ld)
[edit]
Configure and compile steps (on x86 hardware)
/usr/bin/bzip2 -dc m4-1.4.4.tar.bz2 | /usr/sfw/bin/gtar xf -
cd m4-1.4.4
export CFLAGS="-i -xO4 -xspace -xstrconst -xpentium -mr -I/usr/sfw/include -DANSICPP"
export LDFLAGS="-Wl,-zignore -Wl,-zcombreloc -Wl,-Bdirect -R/usr/local/lib"
./configure --prefix=/usr/local \
--libexecdir=/usr/local/lib \
--mandir=/usr/local/share/man \
--datadir=/usr/local/share \
--infodir=/usr/local/share/info
make
[edit]
Other configure options
[edit]
Directory paths that m4 installs to
bin share/info
[edit]
Other 3rd party software m4 requires
(none)
