Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. to install an Amiga cross-compiler in a Linux distribution, there are instructions at
  2.  
  3. http://utilitybase.com/article/show/2007/06/23/231/Installing+an+AmigaOS+4+cross+compiler
  4.  
  5. a more Mac-oriented article [though of potentially general utility] is at
  6. http://utilitybase.com/article/show/2006/05/21/188/Building+Amiga+OS+4+GCC+Cross+Compiler+for+UNIX%252FMAC
  7.  
  8. more background at
  9. http://cross.zerohero.se/os4.html
  10.  
  11. cross-compile additional libs/tools
  12. SDK
  13. http://www.hyperion-entertainment.biz/
  14.  
  15. newlib
  16. http://sources.redhat.com/newlib/
  17.  
  18. clib2
  19. http://sourceforge.net/projects/clib2/
  20.  
  21. ixemul
  22. http://strohmayer.org/sfs/
  23.  
  24. libnix
  25. http://sourceforge.net/projects/libnix/
  26.  
  27. though newlib / clib2 are apparently already included in the ppc-amigaos-gcc tarball
  28.  
  29. lha utility is debian package lha
  30.  
  31. then install linked libs in the correct place
  32.  
  33. [normally /usr/local/amiga]
  34. so
  35. sudo chmod --recursive 775 /usr/local/amiga
  36. sudo chmod --recursive +s /usr/local/amiga
  37. sudo chown --recursive `whoami` /usr/local/amiga
  38. sudo chgrp --recursive root /usr/local/amiga
  39. [mkdir /usr/local/amiga/include]
  40.  
  41. [may need to set ppc-amigaos-gcc libpaths]
  42.  
  43. zlib
  44. download tarball from project homepage, untar in a storage directory /
  45. download source from your distribution's repository [zlib1g in Ubuntu]
  46. [cd to top-level directory of zlib containing configure script]
  47. CC=ppc-amigaos-gcc AR=ppc-amigaos-ar RANLIB=ppc-amigaos-ranlib \
  48. CFLAGS="-DNO_FSEEKO" ./configure --prefix=/usr/local/amiga
  49. make
  50. make install
  51.  
  52. regex [pre-compiled]
  53. http://aminet.net/dev/lib/libregex-4.4.3.lha
  54.  
  55. libcurl
  56. download the tarball from the project's homepage, untar in a storage directory /
  57. download source from your distribution's repository
  58. cd into the directory containing the configure file
  59. ./configure --prefix=/usr/local/amiga --host=ppc-amigaos
  60. $ make
  61. [you MUST have either POSIX or glibc strerror_r if strerror_r is found]
  62. $ make install
  63.  
  64. alternative
  65. http://www.aminet.net/dev/lib/libcurl.lha
  66.  
  67. libiconv [unnecessary as a non-overridable limited version is included in newlib]
  68.  
  69. openssl
  70.  
  71. libpng
  72.  
  73. libmng
  74. http://www.aminet.net/dev/lib/libmng_so.lha
  75. http://www.aminet.net/dev/lib/libmng.lha
  76.  
  77. liblcms
  78. http://www.aminet.net/dev/lib/liblcms_so.lha
  79. http://www.aminet.net/dev/lib/liblcms_so.lha
  80.  
  81. libjpeg
  82.  
  83. libparserutils
  84. libhubbub
  85. libcss
  86. libnsbmp
  87. libnsgif
  88.