Some selected infos for Amiga Build instructions

Do not use the clinet.mk script in the top-level directory as describe for UNIX builds. It is mostly used as a mechanism to pull down cvs, configure and make.

For an Amiga build we don't use that file since we have 1 CVS tree and you can easily do configure/make yourself.

The .mozconfig

The .mozconfig should look like this (it's only a hint can be different):
ac_add_options --enable-default-toolkit=amiga
ac_add_options --disable-mailnews
ac_add_options --disable-ldap
ac_add_options --disable-freetype2
ac_add_options --disable-postscript
ac_add_options --disable-xprint
ac_add_options --disable-jsd
ac_add_options --disable-oji
ac_add_options --disable-accessibility
ac_add_options --disable-xpfe-components
ac_add_options --disable-xpinstall
ac_add_options --disable-jsloader
ac_add_options --disable-composer
ac_add_options --disable-mathml
ac_add_options --disable-installer
ac_add_options --with-nspr-threads
You can change it the following for building a xlib version, add:
ac_add_options --enable-default-toolkit=xlib

# otherwise my local X is found :(
ac_add_options --without-x

Cross compiling hints

If you are cross-compiling, the nsprpub/config/autoconf.mk isn't entirely correct. You will need to make the following changes:
OS_TARGET = AmigaOS
OS_ARCH = AmigaOS
OS_RELEASE = 3.1
OS_TEST = m68k

Unix Build Instructions

Daniel Nunes, leaf@mozilla.org

For documentation on developing features or fixing bugs, look at the Mozilla Hacking Guidelines. For general Unix issues, look at the Mozilla Unix page.

Requirements

Build the Lizard

  1. cvs co -f mozilla/client.mk
  2. cd mozilla
  3. gmake -f client.mk
To rebuild without pulling the tree, To pull or update the tree without building, Important: Do not use cvs update! Not only will it pull lots of files which you won't want or need but, because mozilla uses several separately tagged modules, you may end up with the wrong versions of files.

To change build options, use the Unix Build Configurator (it's easier than running ./configure directly).

After the build

Read the debugging FAQ for info on running mozilla in the debugger.

Other Unix Build pages

Developingenvironments for taking part in the AmiZilla project as developer

Linux Cross Compiler

http://www.lysator.liu.se/%7Elcs/files/gg-cross/
http://www.birrabrothers.com/tiger/data/amithlon/crosscompile.htm
And a comment an the AmiZilla mailing list at yahoo groups.

And I've written a short describtion. These instructions work for me. I don't know if they will work for you or anyone else. And if you want to compile something more complex than the Hello World example (something that requires a configure run), you'll have to adjust the CC variable to use the Cross-Compiler and most probably provide the -B option for the compiler.

If someone finds a better way (I'm sure, someone will), feel free to correct my instructions.

... I have a stable full install of gcc/g++ 3.3 and related tools on UAE working very well, plus vim for editing. See me for technical support if you want it.

Big-picture:

  1. Go to Geek Gadgets http://www.geekgadgets.com
  2. Go to the Amiga 68k snapshots
  3. Download BOOT.lha and extract.
  4. Follow instructions and add the necessary entries to S:user-startup
  5. Download EVERY, and I mean EVERY *.tgz from the snapshot in.
  6. Uncompress every one using tar -xzf

Those simple steps will get you g++, perl, etc. -- pretty much the entire relevant GNU distribution.

If you want VIM, there is a link from VIM works rather well on the Amiga.

> Does anyeone know if there is a WarpOS hosted version of gcc? I've > got a 175MHz PPC doing not very much.

You can find a WarpOS version of gcc-2.95.3 here. As I have no PPC Amiga @ the moment, I havn't tried it.