[tlbuild] Solaris help ...
Bruno Haible
bruno at clisp.org
Wed Jan 24 00:26:24 CET 2024
Norbert Preining asked:
> If you have experience with Solaris, do you know what kind of package
> install invocation I need to add to build-tl.sh around here:
>
> netbsd)
> pkg_add gmake gcc pkgconf libX11 libXt libXaw fontconfig perl5
> ;;
> solaris)
> echo "Solaris support is WIP, please help!" >&2
> exit 1
> ;;
Sure. First, you need to determine the names of the packages to install.
One way to do so is through commands like
$ pkg search /usr/bin/gcc
$ pkg search /usr/bin/g++
$ pkg search /usr/bin/gdb
$ pkg search /usr/bin/emacs
Another way is through http://pkg.oracle.com/solaris/release/en/index.shtml
Then you install these packages through
$ sudo pkg install developer/gcc/gcc-c++
$ sudo pkg install developer/debug/gdb
$ sudo pkg install editor/gnu-emacs/gnu-emacs-no-x11
> And are there any special steps necessary for compilation, env vars etc?
You can build in 64-bit mode (CC="gcc -m64") or in 32-bit mode (CC="gcc -m32")
[1]. Usually 64-bit mode is preferred.
Do you also need info for Solaris 11 OpenIndiana and/or Solaris 11 OmniOS
(the two main derivatives of OpenSolaris)?
Bruno
[1] https://gitlab.com/ghwiki/gnow-how/-/wikis/Platforms/Configuration
More information about the tlbuild
mailing list.