home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 7 / FreshFishVol7.bin / gnu / readme < prev    next >
Text File  |  1994-10-22  |  11KB  |  334 lines

  1.  
  2.            G N U   G E N E R A L   I N F O R M A T I O N
  3.  
  4.                  (Updated 10/21/94)
  5.  
  6. ========
  7. OVERVIEW
  8. ========
  9.  
  10. This is the root directory of a set of utilities which started with Amiga
  11. ports of important GNU (GNU's Not Unix) tools, such as the GNU C compiler,
  12. and then has gradually expanded to encompass other tools.
  13.  
  14. For information about what has changed since the previous release, see the
  15. CHANGES topic later in this file.
  16.  
  17. One of the goals of this set of utilities is to have a completely self
  18. hosting environment.  I.E. that everything within it be compilable by the
  19. GNU C compiler or other provided compilers.  It should be possible for the
  20. recipient of these utilities to make whatever changes or bug fixes they
  21. want in any piece of code, and then rebuild and use that fixed version (and
  22. hopefully send those changes back for integration into future releases).
  23.  
  24. =======
  25. CHANGES
  26. =======
  27.  
  28. There are no changes in the GNU tree since the Sep/Oct FreshFish CD.  For
  29. the Nov/Dec FreshFish CD we were on a very tight release schedule and
  30. decided to concentrate all of our resources on the "New material" section of
  31. the CD-ROM.
  32.  
  33. Another reason why we decided to stay with the previous release, which was
  34. well tested and appears stable, is that the release of gcc 2.6.1 is due in
  35. the next few days, and we would want to recompile and test all of the
  36. utilities with that release.  There simply isn't time to do that for the
  37. Nov/Dec CD-ROM.  For the next FreshFish CD-ROM we will be putting a lot of
  38. work into updating and expanding the GNU tree, so expect major updates then.
  39.  
  40. ==========
  41. STACK SIZE
  42. ==========
  43.  
  44.             *** IMPORTANT ***
  45.  
  46.     Some of the GNU utilities, gcc in particular, require a
  47.     very large stack.  You need to arrange that the CLI/Shell
  48.     or whatever you run these programs from has a large stack
  49.     set.  In a CLI you can set this with a command of the
  50.     form "stack 100000" (100000 is what I use).  You can also
  51.     put this command in your S:Shell-Startup file to get large
  52.     stacks for all CLI/Shell startups, without having to 
  53.     remember to manually set the stack each time.  Really huge
  54.     compiles, like recompiling the compiler itself, may require
  55.     even more stack space (like 300Kb or more).
  56.  
  57.  
  58. =========
  59. STRUCTURE
  60. =========
  61.  
  62. Important subdirectories are:
  63.  
  64.     amigados    ? (gcc/g++ uses this for something...)
  65.  
  66.     bin        Where the GNU executables go.
  67.  
  68.     etc        Equivalent to /etc on UNIX.
  69.  
  70.     guide        AmigaGuide versions of info files.
  71.  
  72.     include        Include files used by gcc.
  73.  
  74.     info        Info files.
  75.  
  76.     lib        Library tree, like /usr/lib on UNIX.
  77.  
  78.     man        Manual pages.
  79.  
  80.     manifests    Lists that subdivide this tree up into important
  81.             subsets for individual distribution, such as all
  82.             the files that comprise a binary distribution of
  83.             the GNU C compiler.
  84.  
  85.     os-include    System specific include files.  These are
  86.             Commodore proprietary and are distributed 
  87.             under license from Commodore.
  88.  
  89.     os-lib        System specific library files.  These are
  90.             derived from Commodore proprietary libraries
  91.             and are distributed under license from Commodore.
  92.  
  93.     src        All the source code, including the original 
  94.             FSF distributions, patches to the FSF distributions,
  95.             and the fully patched AmigaDOS sources.
  96.  
  97. ==============
  98. GENERAL STATUS
  99. ==============
  100.  
  101.     Distribution    Prev    This    Latest
  102.     Name        CD-ROM    CD-ROM    FSF    Status
  103.     ------------    ------    ------    ------    -----------------
  104.  
  105.     a++        1.01    1.01    n/a    --
  106.     autoconf    1.11    1.11    1.11    --
  107.     bash        1.13.4    1.13.4    1.14.2    Port incomplete
  108.     bc        1.02    1.02    1.02    --
  109.     binutils    1.8.x    1.8.x    2.5    --
  110.     bison        1.22    1.22    1.22    --
  111.     calc        *    *    2.02c    No port integrated yet
  112.     cpio        2.3    2.3    2.3    --
  113.     cvs        *    *    1.3    No port integrated yet
  114.     dc        0.2    0.2    0.2    --
  115.     dejagnu        *    *    1.2    No port integrated yet
  116.     diffutils    2.6    2.6    2.7    --
  117.     doschk        1.1    1.1    1.1    --
  118.     ed        0.1    0.1    0.1    --
  119.     elvis        *    *    1.7    No port integrated yet
  120.     emacs        18.59    18.59    19.27    --
  121.     f2c        930428    930428    930428    --
  122.     fileutils    3.9    3.9    3.9    --
  123.     find        3.8    3.8    3.8    --
  124.     finger        *    *    1.37    No port integrated yet
  125.     flex        2.4.7    2.4.7    2.4.7    --
  126.     fontutils    *    *    0.6    No port integrated yet
  127.     gas        2.3    2.3    2.5    --
  128.     gawk        2.15.5    2.15.5    2.15.5    --
  129.     gcc        2.6.0    2.6.0    2.6.0    --
  130.     gdb        4.12    4.12    4.13    Port incomplete
  131.     gdbm        1.7.3    1.7.3    1.7.3    --
  132.     ghostscript    2.6.1    2.6.1    2.6.1    --
  133.     ghostview    *    *    1.5    No port integrated yet
  134.     glibc        *    *    1.08.1    No port integrated yet
  135.     gmp        1.3.2    1.3.2    1.3.2    --
  136.     gnat        1.80    1.80    n/a    --
  137.     gnuchess    *    *    4.0.73    No port integrated yet
  138.     gnugo        *    *    1.1    No port integrated yet
  139.     grep        2.0    2.0    2.0    --
  140.     groff        1.09    1.09    1.09    --
  141.     gzip        1.2.4    1.2.4    1.2.4    --
  142.     indent        1.9.1    1.9.1    1.9.1    --
  143.     ispell        4.0    4.0    4.0    --
  144.     less        *    *    237    No port integrated yet
  145.     libg++        2.6    2.6    2.6    --
  146.     libnix        ?    ?    n/a    --
  147.     m4        1.1    1.2    1.3    --
  148.     make        3.71    3.71    3.71    --
  149.     mm        *    *    1.07    No port integrated yet
  150.     mtools        *    *    2.0.7    No port integrated yet
  151.     nethack        *    *    3.1.3    No port integrated yet
  152.     oleo        *    *    1.6    No port integrated yet
  153.     patch        2.1    2.1    2.1    --
  154.     pdksh        4.9    4.9    n/a    --
  155.     perl        4.036    4.036    4.036    --
  156.     rcs        5.6.0.1    5.6.0.1    5.6.0.1    --
  157.     readline    *    *    2.0    No port integrated yet
  158.     recode        *    *    3.3    No port integrated yet
  159.     regex        *    *    0.12    No port integrated yet
  160.     sed        2.05    2.05    2.05    --
  161.     shellutils    1.10    1.10    1.10    --
  162.     tar        1.11.2    1.11.2    1.11.2    --
  163.     termcap        1.2    1.2    1.2    --
  164.     texinfo        3.1    3.1    3.1    --
  165.     textutils    1.9    1.9    1.9    --
  166.     time        *    *    1.6    No port integrated yet
  167.     tput        *    *    1.0    No port integrated yet
  168.     uucp        *    *    1.05    No port integrated yet
  169.     uuencode    1.0    1.0    1.0    --
  170.     wdiff        *    *    0.04    No port integrated yet
  171.  
  172. ==============
  173. GNU C COMPILER
  174. ==============
  175.  
  176. All the versions of gcc look for local header files in LOCAL:include and
  177. LOCAL:os-include, and look for local library files in LOCAL:lib and
  178. LOCAL:os-lib.  This allows you to add local packages that will be found
  179. automatically by gcc, in a location that is writable by you.  Simply
  180. reassign LOCAL: to point to the correct location.
  181.  
  182. Gcc now automatically includes -lamiga in the command line to the linker, so
  183. you can use AmigaDOS specific calls in your code without having to remember
  184. to link with libamiga.a.
  185.  
  186. As of this date, all releases of gcc since 2.3.3 have had broken support for
  187. the -resident option.  This is one reason why gcc 2.3.3 is still included on
  188. the CD-ROM.  To demonstrate the problem, try to bootstrap using "make
  189. bootstrap RESIDENT=-resident".
  190.  
  191. ==========
  192. GNU LINKER
  193. ==========
  194.  
  195. A new option "-f" or "-flavor" is used to inform the linker to look in
  196. additional subdirectories for particular "flavors" of libraries, like
  197. libraries compiled with -fresident, libraries compiled with -g, libraries
  198. compiled with -p, etc.  All the flavor args are collected in a list, sorted,
  199. and then used to create additional sudirectories at the end of the standard
  200. library search paths.
  201.  
  202. For example, given the args
  203.  
  204.     "-L mystuff:lib -flavor libx -flavor libb -lmylib"
  205.  
  206. the linker will search for libmylib.a in "mystuff:lib/libb/libx/".
  207.  
  208. In particular, this is the mechanism that is now used to locate the base
  209. relative libraries, which have moved from gcc:blib to gcc:lib/libb.
  210. Eventually there will be other standard flavors of libraries, like -p
  211. compiled and -g compiled libraries, in a subtree like:
  212.  
  213.     gcc:lib/libb/libc.a        -resident
  214.     gcc:lib/libb/libg/libc.a    -resident -g
  215.     gcc:lib/libb/libg/libp/libc.a    -resident -g -p
  216.     gcc:lib/libp/libc.a        -p
  217.     gcc:lib/libg/libp/libc.a    -g -p
  218.  
  219.     etc.
  220.  
  221. ============
  222. GNU DEBUGGER
  223. ============
  224.  
  225. GDB 4.12 has been ported to the extent that you can build an AmigaDOS
  226. executable that knows how to load and examine executables from non-AmigaDOS
  227. systems.  Much work remains.  See the gnu:src/diffs/gdb-4.12-README file.
  228.  
  229. ======
  230. LIBNIX
  231. ======
  232.  
  233. This is libnix, a static (i.e. link) library for gcc 2.3.3 or above.  It's
  234. not a replacement for ixemul.library (though it's possible to recompile most
  235. of the gcc environment with libnix) but a good thing for amiga specific
  236. development on gcc:
  237.  
  238.     *    It's mostly compatible to SAS's way of handling things, i.e.
  239.     you get even an automatic shared library opening feature and
  240.     some other things you may miss in ixemul.library.
  241.     This also means it's ANSI compliant.
  242.  
  243.     *    It doesn't need any shared libraries than normal Amiga OS ones.
  244.  
  245.     *    It is not copyrighted by the FSF. Therefore you neither need
  246.     to include sources nor objects together with your executable.
  247.     (read the GLGPL _