home *** CD-ROM | disk | FTP | other *** search
-
-
- vbcc - portable ANSI C compiler (c) in 1995 by Volker Barthelmann
-
-
- INTRODUCTION
-
- vbcc shall be a free portable ANSI compliant C compiler.
-
- This is the version for 68k based Amiga systems (the only existing
- version at the moment). This version is still beta, so You
- should use it with care and send me bugreports, suggestions etc.
- Also the manuals are rather poor and the installation is not very
- easy (will hopefully change in the future).
-
- This archive contains the compiler, a frontend, startup codes,
- a C library, an amiga.lib replacement and a utility to create
- stubs for Amiga shared libraries (everything with source).
-
- However You have to get a preprocessor, an assembler and a linker
- to use it (all can be found on aminet, see below). If You want to
- compile Amiga specific programs or rebuild the libraries or the
- frontend You need the C= includes which can be found on certain
- CDs (that are mounted on certain ftp-Servers).
-
-
- SOME GOOD THINGS
-
- vbcc..
-
- - comes with source
-
- - is free
-
- - is portable (so if AT manage to port AmigaOS...)
-
- - should be (rather) ANSI compliant
-
- - can generate code that runs on a plain 68000 CPU
-
- - can generate code that uses instructions/addressing modes of
- the 68020 and higher CPUs
-
- - can generate code that uses the 68881/2 FPUs directly
-
- - generates standard Amiga object files
-
- - does not need too much memory
-
-
- SOME BAD THINGS
-
- vbcc..
-
- - comes with source
-
- - is still beta and may still have serious bugs
-
- - is not yet completely ANSI compliant
-
- - does not yet have an own preprocessor (in the works)
-
- - is rather slow
-
- - does not yet have a real optimizer
-
- - has poor documentation
-
-
- INSTALLATION
-
- [In the future the installation hopefully becomes much easier.]
-
- After unpacking the archive You need a preprocessor, assembler
- and linker.
-
- assembler:
-
- You have to use a recent version of FreePhxAss (c) by
- Frank Wille. Get the archive dev/asm/PhxAss???.lha from
- aminet.
-
- Copy FreePhxAss to vbcc/machines/amiga68k/bin.
-
- linker:
-
- You need a decent linker that uses standard Amiga object
- files. You can e.g. use PhxLnk which is contained in the
- PhxAss-archive (only PhxLnk will allow You to use SmallData
- and SmallCode models with vbcc). However PhxLnk is very slow
- with large libraries, so You might try another linker.
-
- Copy the linker to the same bin directory.
-
- preprocessor:
-
- Now You need an external preprocessor. One possible solution is
- dcpp which can be found in the FreeDice.lha archive on aminet
- (probably in dev/c). However this preprocessor is far from ANSI
- compliant and You may want to use another one.
-
- Copy the preprocessor to the same place.
-
- As the supplied binary of vbcchas been compiled with gcc (vbcc can
- compile itself, but the vc.lib is not yet optimized so the gcc
- compiled version is significantly faster) You need ixemul.library.
- This can be found on aminet and must be copied to LIBS:.
-
- Now read all the #?.doc files in vbcc/doc and in
- vbcc/machines/amiga68k/doc. The further installation is described in
- vbcc/machines/amiga68k/doc/vc.doc.
- Note that if You use PhxLnk and dcpp You can use the provided vc.config
- file, otherwise You will have to edit it.
-
- Future (non-beta) versions of vbcc will probably have a builtin
- preprocessor and come with all necessary files and an installer-script.
-
-
- BUGREPORTS
-
- There may still be many bugs in vbcc, the libraries, include files etc.
-
- If You find that vbcc generates bad code, throws enforcer hits, crashes,
- accepts incorrect sources, rejects correct sources etc., please
- send a mail with Your system configuration, the vbcc version, the
- command line You used, the source that caused the problem and a
- brief description of the problem to
-
- volker@vb.franken.de
-
- Also if You find problems with the includes, the libraries or You have
- suggestions, dislikes etc. send me a mail.
- Corrections, improvements etc. of the manuals are appreciated, too.
-
-
-
- Volker Barthelmann volker@vb.franken.de
- Kennedy-Ring 39
- 91301 Forchheim
- Germany
-
-