home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 9
/
FreshFishVol9-CD1.bin
/
gnu
/
readme
< prev
next >
Wrap
Text File
|
1995-04-19
|
10KB
|
332 lines
G N U G E N E R A L I N F O R M A T I O N
(Updated 4/18/95)
========
OVERVIEW
========
This is the root directory of a set of utilities which started with Amiga
ports of important GNU (GNU's Not Unix) tools, such as the GNU C compiler,
and then has gradually expanded to encompass other tools.
One of the goals of this set of utilities is to have a completely self
hosting environment. I.E. that everything within it be compilable by the
GNU C compiler or other provided compilers. It should be possible for the
recipient of these utilities to make whatever changes or bug fixes they
want in any piece of code, and then rebuild and use that fixed version (and
hopefully send those changes back for integration into future releases).
===========
SOURCE CODE
===========
The source code is currently found in the BBS portion of this two CD set, in
the BBS/GNU directory. This includes the original FSF (or other) baseline
source, patches to the baseline source, and the fully patched AmigaDOS
sources.
==========
STACK SIZE
==========
*** IMPORTANT ***
Some of the GNU utilities, gcc in particular, require a
very large stack. You need to arrange that the CLI/Shell
or whatever you run these programs from has a large stack
set. In a CLI you can set this with a command of the
form "stack 100000" (400000 is what we use). You can also
put this command in your S:Shell-Startup file to get large
stacks for all CLI/Shell startups, without having to
remember to manually set the stack each time. Really huge
compiles, like recompiling the compiler itself, may require
even more stack space (like 300-800 Kb). Work is in
progress to include automatic stack growth code in gcc,
so this requirement will hopefully disappear in a future
release.
=========
STRUCTURE
=========
Important subdirectories are:
amigados ? (gcc/g++ uses this for something...)
bin Where the GNU executables go, like /bin on UNIX.
etc Equivalent to /etc on UNIX.
guide AmigaGuide versions of info files.
include Include files used by gcc, like /usr/include on UNIX
info Info files.
lib Library tree, like /usr/lib on UNIX.
man Manual pages, like /usr/man on UNIX
manifests Lists that subdivide this tree up into important
subsets for individual distribution, such as all
the files that comprise a binary distribution of
the GNU C compiler.
os-include System specific include files. These are
Commodore proprietary and are distributed
under license from Commodore.
os-lib System specific library files. These are
derived from Commodore proprietary libraries
and are distributed under license from Commodore.
==============
GENERAL STATUS
==============
Distribution This Latest
Name CD-ROM Base Status
------------ ------ ------ -----------------
APlusPlus 1.01 1.01 --
autoconf 2.2 2.2 Updated
bash 1.13.4 1.14.2 Port incomplete
bc & dc 1.03 1.03 --
binutils 1.8.x 2.5.2 --
binutils 2.5.2 2.5.2 Partial port
bison 1.22 1.22 --
brik 2.0 2.0 --
calc 2.02c 2.02c --
cpio 2.3 2.3 --
cvs * 1.3 No port integrated yet
dbmalloc 1.14 1.14 --
dbug 2.3 2.3 --
dejagnu * 1.1.1 No port integrated yet
diffutils 2.7 2.7 --
doschk 1.1 1.1 --
dumphunks 1.0 1.0 Added
ecc 1.2.1 1.2.1 Added
ed 0.1 0.2 --
eispack 1.0 1.0 Added
elvis * 1.7 No port integrated yet
emacs 18.59 19.28 --
emacs 19.28 19.28 Partial port
f2c 930428 930428 --
fileutils 3.12 3.12 --
findutils 4.1 4.1 --
finger * 1.37 No port integrated yet
flex 2.4.7 2.4.7 --
fontutils 0.6 0.6 Added
g77 0.5.13 0.5.13 Added
gawk 2.15.6 2.15.6 Updated
gcc 2.6.3 2.6.3 --
gdb 4.14 4.14 Updated; port incomplete
gdbm 1.7.3 1.7.3 --
ghostscript 2.6.1 2.6.1 --
ghostview * 1.5 No port integrated yet
git 4.3.5 4.3.5 No port integrated yet
glibc * 1.06 No port integrated yet
gmp 1.3.2 1.3.2 --
gnat 2.00 2.03 Updated
gnuchess * 4.0.62 No port integrated yet
gnugo * 1.1 No port integrated yet
grep 2.0 2.0 --
groff 1.09 1.09 --
gzip 1.2.4 1.2.4 --
indent 1.9.1 1.9.1 --
ispell 4.0 4.0 --
ixemul 40.4 40.4 --
ixpipe 1.0 1.0 --
jove 4.14.6 4.14.6 --
less 252 252 --
libcurses 8.3 8.3 --
libg++ 2.6.2 2.6.2 --
libm 5.4 5.4 --
libnix 0.8 0.8 Updated
m4 1.4 1.4 --
make 3.71 3.72.1 --
mm * 1.07 No port integrated yet
mtools * 2.0.7 No port integrated yet
nethack * 3.1.3 No port integrated yet
octave 1.1.1 1.1.1 Added
oleo * 1.3.1b No port integrated yet
patch 2.1 2.1 --
pdksh 4.9 5.1.3 --
perl 4.036 5.000 --
rcs 5.6.0.1 5.6.0.1 --
readline * 1.1 No port integrated yet
recode * 3.2.4 No port integrated yet
regex * 0.12 No port integrated yet
sed 2.05 2.05 --
sh-utils 1.12 1.12 --
sharutils 4.1 4.1 --
tar 1.11.2 1.11.2 --
termcap 1.2 1.2 --
texinfo 3.1 3.1 --
textutils 1.11 1.11 --
time * 1.6 No port integrated yet
tput * 1.0 No port integrated yet
unixtex 6.1 6.1 Added
uucp * 1.04 No port integrated yet
wdiff 0.5 0.5 Added
==============
GNU C COMPILER
==============
All the versions of gcc look for local header files in LOCAL:include and
LOCAL:os-include, and look for local library files in LOCAL:lib and
LOCAL:os-lib. This allows you to add local packages that will be found
automatically by gcc, in a location that is writable by you. Simply
reassign LOCAL: to point to the correct location.
Gcc now automatically includes -lamiga in the command line to the linker, so
you can use AmigaDOS specific calls in your code without having to remember
to link with libamiga.a.
As of this date, all releases of gcc since 2.3.3 have had broken support for
the -resident option. This is one reason why gcc 2.3.3 is still included on
the CD-ROM. To demonstrate the problem, try to bootstrap using "make
bootstrap RESIDENT=-resident".
==========
GNU LINKER
==========
A new option "-f" or "-flavor" is used to inform the linker to look in
additional subdirectories for particular "flavors" of libraries, like
libraries compiled with -fresident, libraries compiled with -g, libraries
compiled with -p, etc. All the flavor args are collected in a list, sorted,
and then used to create additional sudirectories at the end of the standard
library search paths.
For example, given the args
"-L mystuff:lib -flavor libx -flavor libb -lmylib"
the linker will search for libmylib.a in "mystuff:lib/libb/libx/".
In particular, this is the mechanism that is now used to locate the base
relative libraries, which have moved from gcc:blib to gcc:lib/libb.
Eventually there will be other standard flavors of libraries, like -p
compiled and -g compiled libraries, in a subtree like:
gcc:lib/libb/libc.a -resident
gcc:lib/libb/libg/libc.a -resident -g
gcc:lib/libb/libg/libp/libc.a -resident -g -p
gcc:lib/libp/libc.a -p
gcc:lib/libg/libp/libc.a -g -p
etc.
============
GNU DEBUGGER
============
GDB 4.12 has been ported to the extent that you can build an AmigaDOS
executable that knows how to load and examine executables from non-AmigaDOS
systems. Much work remains. See the gnu:src/diffs/gdb-4.12-README file.
======
LIBNIX
======
This is libnix, a static (i.e. link) library for gcc 2.3.3 or above. It's
not a replacement for ixemul.library (though it's possible to recompile most
of the gcc environment with libnix) but a good thing for amiga specific
development on gcc:
* It's mostly compatible to SAS's way of handling things, i.e.
you get even an automatic shared library opening feature and
some other things you may miss in ixemul.library.
This also means it's ANSI compliant.
* It doesn't need any shared libraries than normal Amiga OS ones.
* It is not copyrighted by the FSF. Therefore you neither need
to include sources nor objects together with your executable.
(read the GLGPL _before_ flaming on this statement)
* And it's short! I was able to compile a 492 byte 'hello, world'
using normal main.
* It uses OS20 features whenever necessary.
To summarize:
Use ixemul.library for porting Un*x programs, libnix for
compiling amiga-only programs and gcc is one of the best
Amiga compilers.
====
TODO
====
This is a list of things that still rem