Preparation of the
Linux PPC64 version:
Download the UXP source here:
UXP master.tar.gz
Grab SL source here
Source code
Extract SL source, then extract UXP source. It'll extract to a folder called "uxp". Rename it to "platform" and move it in to the SL source tree.
Compiling the SeaLion for Linux PPC64:
It needs GCC 7.1 or newer.
Upgrading of GCC to version 8.3.1:
(This upgrades the packages gcc-c++, gcc, and cpp)
If you want to use "
rpm -U" then you need to download the rpm packages of gcc-c++, gcc, and cpp first.
.mozconfig
Code: Select all
export CC="gcc -flax-vector-conversions -O3 -falign-loops=16 -falign-functions=16 -falign-labels=16 -falign-jumps=16 -maltivec -mabi=altivec"
export CXX="g++ -flax-vector-conversions -fpermissive -O3 -falign-loops=16 -falign-functions=16 -falign-labels=16 -falign-jumps=16 -maltivec -mabi=altivec"
mk_add_options AUTOCONF=/usr/bin/autoconf-2.13
# Set GTK Version to 2 or 3
_GTK_VERSION=2
ac_add_options --target=powerpc64-linux-gnu
ac_add_options --host=powerpc64-linux-gnu
ac_add_options --with-system-jpeg
ac_add_options --enable-application=navigator
ac_add_options --enable-optimize
ac_add_options --enable-jxl
ac_add_options --enable-strip
ac_add_options --enable-default-toolkit=cairo-gtk2
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-crashreporter
ac_add_options --disable-webrtc
ac_add_options --disable-necko-wifi
ac_add_options --disable-safe-browsing
ac_add_options --disable-devtools
ac_add_options --disable-pulseaudio
ac_add_options --disable-jemalloc
ac_add_options --disable-updater
ac_add_options --disable-gconf
ac_add_options --disable-gamepad
ac_add_options --disable-precompiled-startupcache
export MOZ_TELEMETRY_REPORTING=0
export MOZ_ADDON_SIGNING=0
export MOZ_REQUIRE_SIGNING=0
Remove the following line from the file "platform/security/nss/lib/freebl/freebl.gyp":
Code: Select all
'target_name': 'gcm-aes-ppc_c_lib',
'type': 'static_library',
'sources': [
'gcm-ppc.c',
- 'sha512-p8.s',
],
'dependencies': [
./mach build
Please note: Copy the
icudt63b.dat to
obj-powerpc64-linux-gnu/dist/bin before "
./mach run" and "
./mach package" and then extract the sealion xz package and copy the
icudt63b.dat again to the sealion folder.