mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
- Added notes on building the library
git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14696 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
19
documentation/BUILDING
Normal file
19
documentation/BUILDING
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
In order to build the library, you need a 'C' compiler (obvious, isn't it?) and
|
||||||
|
a set of header files for the networking API definitions. The networking header
|
||||||
|
files go into a directory "netinclude" which has to sit in the same directory as
|
||||||
|
the source code and the "include" directory you find in there. I'm not currently
|
||||||
|
supplying these header files here. Drop me a line, and I'll take care of that.
|
||||||
|
|
||||||
|
The SAS/C flavour (smakefile) should get the library built using the "large data"
|
||||||
|
model. This rules out the use of residentable programs as the startup code I'm
|
||||||
|
using is very primitive (startup.o) and doesn't tinker with A4 relative data
|
||||||
|
addressing (and how this may be set up).
|
||||||
|
|
||||||
|
There are two makefiles for GCC, each a different flavour. There is "GNUmakefile.68k",
|
||||||
|
which will build the library for GCC on the 68k platform ("classic" Amiga). This
|
||||||
|
builds all variants of the library, for large data, small data, resident, whatever
|
||||||
|
model. It's a lot of work and I don't recommend you do this on a plain 68k machine.
|
||||||
|
It will literally (!) take hours. The other makefile flavour is for AmigaOS4 using
|
||||||
|
the PowerPC hosted GCC system ("GNUmakefile.os4"). This builds only the large data
|
||||||
|
version of the library, but this is usually all you need. Small data support is
|
||||||
|
currently not implemented but might follow in the future.
|
||||||
Reference in New Issue
Block a user