From 355799ce0bbb078237dfc1ae9874bbc5342acbc4 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 17 Dec 2009 23:55:02 +0000 Subject: Merge branches/MarkieB/gtkmain to trunk. svn path=/trunk/netsurf/; revision=9729 --- Docs/BUILDING-AmigaCross | 102 +++++++++++++++++++++++++++++++++++++++++++++++ Docs/Doxyfile | 2 + 2 files changed, 104 insertions(+) create mode 100644 Docs/BUILDING-AmigaCross (limited to 'Docs') diff --git a/Docs/BUILDING-AmigaCross b/Docs/BUILDING-AmigaCross new file mode 100644 index 000000000..fcd0889c1 --- /dev/null +++ b/Docs/BUILDING-AmigaCross @@ -0,0 +1,102 @@ +to install an Amiga cross-compiler in a Linux distribution, there are instructions at + +http://utilitybase.com/article/show/2007/06/23/231/Installing+an+AmigaOS+4+cross+compiler + +a more Mac-oriented article [though of potentially general utility] is at +http://utilitybase.com/article/show/2006/05/21/188/Building+Amiga+OS+4+GCC+Cross+Compiler+for+UNIX%252FMAC + +more background at +http://cross.zerohero.se/os4.html + +cross-compile additional libs/tools +SDK +http://www.hyperion-entertainment.biz/ + +newlib +http://sources.redhat.com/newlib/ + +clib2 +http://sourceforge.net/projects/clib2/ + +ixemul +http://strohmayer.org/sfs/ + +libnix +http://sourceforge.net/projects/libnix/ + +though newlib / clib2 are apparently already included in the ppc-amigaos-gcc tarball + +lha utility is debian package lha + +then install linked libs in the correct place + +[normally /usr/local/amiga] +so +sudo chmod --recursive 775 /usr/local/amiga +sudo chmod --recursive +s /usr/local/amiga +sudo chown --recursive `whoami` /usr/local/amiga +sudo chgrp --recursive root /usr/local/amiga +[mkdir /usr/local/amiga/include] + +[may need to set ppc-amigaos-gcc libpaths] + +zlib +download tarball from project homepage, untar in a storage directory / +download source from your distribution's repository [zlib1g in Ubuntu] +[cd to top-level directory of zlib containing configure script] +CC=ppc-amigaos-gcc AR=ppc-amigaos-ar RANLIB=ppc-amigaos-ranlib \ +CFLAGS="-DNO_FSEEKO" ./configure --prefix=/usr/local/amiga +make +make install + +libxml +download the tarball from the project's homepage, untar in a storage directory / +download source from your distribution's repository +download the tarball from the project's homepage, untar in a storage directory / +download source from your distribution's repository +cd into the directory containing the configure file +$ ./configure --prefix=/usr/local/amiga --host=ppc-amigaos +$ make +[need glob.h / change logic in runtest.c] +$ make install + +alternative +http://www.aminet.net/dev/lib/libxml.lha + + +regex [pre-compiled] +http://aminet.net/dev/lib/libregex-4.4.3.lha + +libcurl +download the tarball from the project's homepage, untar in a storage directory / +download source from your distribution's repository +cd into the directory containing the configure file +./configure --prefix=/usr/local/amiga --host=ppc-amigaos +$ make +[you MUST have either POSIX or glibc strerror_r if strerror_r is found] +$ make install + +alternative +http://www.aminet.net/dev/lib/libcurl.lha + +libiconv [unnecessary as a non-overridable limited version is included in newlib] + +openssl + +libpng + +libmng +http://www.aminet.net/dev/lib/libmng_so.lha +http://www.aminet.net/dev/lib/libmng.lha + +liblcms +http://www.aminet.net/dev/lib/liblcms_so.lha +http://www.aminet.net/dev/lib/liblcms_so.lha + +libjpeg + +libparserutils +libhubbub +libcss +libnsbmp +libnsgif diff --git a/Docs/Doxyfile b/Docs/Doxyfile index d928c5e0b..862566959 100644 --- a/Docs/Doxyfile +++ b/Docs/Doxyfile @@ -896,6 +896,8 @@ INCLUDE_FILE_PATTERNS = PREDEFINED = riscos CSS_INTERNALS WITH_ARTWORKS WITH_BMP WITH_DRAW WITH_DRAW_EXPORT WITH_GIF WITH_JPEG WITH_MMAP WITH_MNG WITH_NSSPRITE WITH_NS_SVG WITH_PLUGIN WITH_RSVG WITH_SAVE_COMPLETE WITH_SPRITE WITH_THEME_INSTALL WITH_PDF_EXPORT +PREDEFINED = gtk WITH_THEME_INSTALL + # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then # this tag can be used to specify a list of macro names that should be expanded. # The macro definition that is found in the sources will be used. -- cgit v1.2.3