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.
.mozconfig
should look like this (it's only a hint can be different):
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
For documentation on developing features or fixing bugs, look at the Mozilla Hacking Guidelines. For general Unix issues, look at the Mozilla Unix page.
cvs
co -f mozilla/client.mk
cd
mozilla
gmake
-f client.mk
gmake -f client.mk build
gmake -f client.mk
checkout
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).
cd
dist/bin
./mozilla
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:
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.