Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!att!watmath!maytag!watdragon!watdragon.uwaterloo.ca!rimajpuz From: rimajpuz@watsol.uwaterloo.ca (Rick I. Majpruz) Newsgroups: comp.sys.amiga.tech Subject: Re: I need Help with the A3000! Message-ID: Date: 27 Jul 90 09:23:16 GMT References: <6071@sugar.hackercorp.com> <13386@cbmvax.commodore.com> <6091@sugar.hackercorp.com> <1990Jul25.224140.24184@cbnewsm.att.com> <13456@cbmvax.commodore.com> <6100@sugar.hackercorp.com> Sender: daemon@watdragon.waterloo.edu (Owner of Many System Processes) Distribution: comp Organization: University of Waterloo, Waterloo, Ontario Lines: 23 In-Reply-To: peter@sugar.hackercorp.com's message of 27 Jul 90 11:31:25 GMT In article <6100@sugar.hackercorp.com> peter@sugar.hackercorp.com (Peter da Silva) writes: Do does NeWS, *without* forcing the application to duplicate 300K of what should be server code. I know about the X/NeWS bit, but would it be too much to ask to be able to dump the X half of it if you don't want it? With shared libraries the object code can be loaded at runtime. And a given piece of object code is loaded only once no matter how many applications use it. I have been using the Athena widgets on the Sun/4 which has sharable libraries. The `hello world' program using the Athena widgets is only a half a dozen lines of code but is 560K when all the library object code is loaded by the cc linker. But by compiling with sharable libraries, the executable is only 48K. This compares with 32K for the stdio `hello world': apparently Sun O/S uses 16K segments in the executables. I haven't done any programming on the Amiga yet, but I am told that it too has sharable libraries. Hopefully the person porting X to the Amiga will take advantage of this fact. So my question to people using X on the Amiga is: how big is the executable of the hello world program (using, I assume, the Motif widgets)? Is it a tiny 50 bytes or so? Could you post the X hello world for the Amiga so that I can compare it to what I'm using now?