The basic building strategy and general assumptions have been detailed on a previous post: Staged Building.
$ pwd
/stage/build
$ ./gnu-build-preparation ../source/.../zlib-1.2.11.tar.xz
...
$ cd zlib/zlib-1.2.11-64
$ source ../setenv 64
CONFIG_SHELL=/usr/bin/bash
CC=/usr/bin/gcc CFLAGS=-m64 -march=core2 -std=gnu89
CXX=/usr/bin/g++ CXXFLAGS=-m64 -march=core2 -std=gnu++03
LD=/usr/bin/ld LDFLAGS=-m64 -march=core2
PATH=/opt/gnu/bin:/usr/gnu/bin:/usr/bin:/usr/sbin
PKG_CONFIG_PATH=
Suggested build sequence:
Fine-tune/fix config.h.in, Makefile.in and others...
$ ./configure \
--build=x86_64-pc-solaris2.11 \
--prefix=/opt/... \
...
$ gmake -j3
For IPS package:
$ gmake DESTDIR=/stage/prototype/zlib/1.2.11/64 install
For immediate use:
$ sudo gmake install
$ sudo zfs snapshot -r .../opt/...@zlib-1.2.11
Personal notes and recipes, views and opinions.
If it must run, it runs on Solaris!
▶
Wednesday, April 11, 2018
Building GNU make 4.2.1
The basic building strategy and general assumptions have been detailed on a previous post: Staged Building:
$ pwd
/stage/build
$ ./gnu-build-preparation ../source/.../make-4.2.1.tar.bz2
...
$ cd make/make-4.2.1-64
$ source ../setenv 64
CONFIG_SHELL=/usr/bin/bash
CC=/usr/bin/gcc CFLAGS=-m64 -march=core2 -std=gnu89
CXX=/usr/bin/g++ CXXFLAGS=-m64 -march=core2 -std=gnu++03
LD=/usr/bin/ld LDFLAGS=-m64 -march=core2
PATH=/opt/gnu/bin:/usr/gnu/bin:/usr/bin:/usr/sbin
PKG_CONFIG_PATH=
Suggested build sequence:
Fine-tune/fix config.h.in, Makefile.in and others...
$ ./configure \
--build=x86_64-pc-solaris2.11 \
--prefix=/opt/... \
...
$ gmake -j3
For IPS package:
$ gmake DESTDIR=/stage/prototype/make/4.2.1/64 install
For immediate use:
$ sudo gmake install
$ sudo zfs snapshot -r .../opt/...@make-4.2.1
$ pwd
/stage/build
$ ./gnu-build-preparation ../source/.../make-4.2.1.tar.bz2
...
$ cd make/make-4.2.1-64
$ source ../setenv 64
CONFIG_SHELL=/usr/bin/bash
CC=/usr/bin/gcc CFLAGS=-m64 -march=core2 -std=gnu89
CXX=/usr/bin/g++ CXXFLAGS=-m64 -march=core2 -std=gnu++03
LD=/usr/bin/ld LDFLAGS=-m64 -march=core2
PATH=/opt/gnu/bin:/usr/gnu/bin:/usr/bin:/usr/sbin
PKG_CONFIG_PATH=
Suggested build sequence:
Fine-tune/fix config.h.in, Makefile.in and others...
$ ./configure \
--build=x86_64-pc-solaris2.11 \
--prefix=/opt/... \
...
$ gmake -j3
For IPS package:
$ gmake DESTDIR=/stage/prototype/make/4.2.1/64 install
For immediate use:
$ sudo gmake install
$ sudo zfs snapshot -r .../opt/...@make-4.2.1
Subscribe to:
Posts (Atom)