home *** CD-ROM | disk | FTP | other *** search
- This archives consists of the latest version of my gcc environment, thus
- the compiler, driver, assembler, linker, header files for inline code
- generation of library calls (done with library-pragmas in other compilers)
- and some tools.
-
- In most cases these are not real new files, but they're linked with a newer
- version of the c-library, I tried to make sure, they're all 68000-compatible,
- but I can't verify this, good luck;-) I released this archive mainly because
- I got many letters asking for an archive that contains the latest version
- of what's available, so they don't have to go collecting various files from
- various archives.
-
- Since some files are directly taken from upd911009.lzh, I include here the
- README that accompanied that release:
-
- ----------------------------------------------------------------------------
- This update consists of the following parts:
-
- o include20/inline
- These are headers to support the larger libraries under 2.04. Some
- libraries are lots larger, so as long as you don't need special
- 2.0 functions, I'd recommend you keep the 1.3 inline files for
- faster compilation.
-
- o hunk2gcc
- Binary and source for the hunk to a.out converter. See the README file
- in this directory for instructions.
-
- o gnu-src/gnu-bin
- These are mainly the current versions of those tools I'm using myself.
- Not all files required for compilation are included, since the other
- files can be used straight from the GNU distribution. For example,
- you need `cplus-dem.c', `getopt.c', `getopt1.c' to compile ld, and
- the getopt-files to compile ar. You probably need some headers of
- the binutils-distrib as well.
- For gcc: this is slightly modified (compared with the former version)
- to now call ld (as it did once;-)), but not include `gnulib' anymore,
- since I merged all of those files into libc.a. Since you have to do
- a conversion anyway if you want to use your old library, it's best
- you merge the gnulib-files into it as well. To recompile gcc you
- need the gcc-source tree...
-
- o gnulib
- This is a split gnulib from the gcc distribution. It calls the
- math libraries directly instead of going thru glue functions. You
- might want to extract the contents of `gnulib.a' and merge the
- files with your libc.
-
-
- The main changes to `ld' are bugfixes, it didn't handle ABS symbols
- right before, it should now. I provided `ar' just that you don't have
- to go out looking for it somewhere, it didn't change.
-
- ----------------------------------------------------------------------------
-
- One thing to take care with ld: I didn't mention so far, that the -e
- option (provide an entry point) is currently *broken*, so don't use it. What
- you need to do is make sure, the first location in the code hunk is
- executable, and not for example the string "dos.library" ;-) You can ensure
- this, if you compile your startup-file with
- gcc -fwritable-strings
- That way, strings to into data space, and won't migrate to the start of
- the text segment.
-
-
- INSTALLATION
- ------------
- Since this is a complete release, some directives for installation are
- probably needed...
-
- o the directory local/ contains the preprocessor, c-compiler, assembler
- and linker. Assign LOCAL: to this directory.
- o gnu-bin/ contains the driver (gcc) and the librarian (ar). Either copy
- those files into a directory you have in your PATH or add gnu-bin/ to
- your PATH.
- o gcc currently doesn't include it's own c-library (it will soon..), so you
- have to provide your own. Either compile one from sources (eg. PDC-sources)
- or convert an existing library with hunk2gcc (see the README in its
- directory).
- Assign GCC: to a directory, so that Gcc:include/ points your header
- files, and Gcc:lib/ contains your c-library (called libc.a), and your
- c-startup file (called crt0.o).
-
-
- -Markus Wild
-
- <wild@nessie.cs.id.ethz.ch>
-