Article View: net.micro.amiga
Article #4923Re: Shell 2.01A Manx version (with extra's)
From: Howard Hull
Date: Tue, 14 Oct 1986 00:42
Date: Tue, 14 Oct 1986 00:42
34 lines
2394 bytes
2394 bytes
In article <3647@vax4.fluke.UUCP>, star@fluke.UUCP (David Whitlock) writes:
>
> Being new to the MANX compiler (but loving it), you make a reference in the
> makefile to ln -o SHELL ..... -lc32. What is that thing! (-lc32)! Somewhere
> I must have missed a 'thread' on this one. I assume is the call to search
> library file 'c32.lib' but where do I find this. It was not part of the
> archived sources posted to mod.amiga.sources.
>
I don't know what the people who know what they're doing do about this, but
I located the 'c32.lib' on "Aztec C68K 3.20a Disk 2" in the "lib" directory.
So when I get a source that has Intuition calls involving 32-bit pointers, I
boot up with "Aztec C68K 3.20a 2/27/86" (Disk 1, really) in df0: , and my
source disk in df1: (with the cd in the appropriate df1: directory), do the
compile with
cc snarf.c +L , then pick up the linker with
Copy df0:c/ln to Ram:ln ,
then Assign SYS: "Aztec C68K 3.20a Disk 2:"
Whereupon AmigaDOS will get suspicious about what I'm up to, will began to
wonder whether I really have Disk 2, and will ask to see it by posting a
requester requiring me to put the disk in any drive. I put it in df0:
As soon as AmigaDOS is satisfied, I then do the actual link with the command:
Ram:ln snarf.o -lc32 -o snarf , or if it's floating point code, I use:
Ram:ln snarf.o -lm32 -lc32 -o snarf , tell it to look for mathlibs 1st.
I have, incidently, had weird results with the Manx floating point, so I may
be doing the latter one wrong. But I find that if I put the c32 lib first,
the program usually hails the Guru outright on invocation. Hope this helps.
Regards,
H. "Gosh, here's a program I haven't changed yet, I wonder what it does..." Hull
{ucbvax!hplabs | decvax!noao | mcvax!seismo | ihnp4!seismo} !hao!hull
Technical Details
Message-ID:
<253@hao.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!think!husc6!seismo!hao!hullReferences:
<5703@decwrl.DEC.COM> <3647@vax4.fluke.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!think!husc6!seismo!hao!hull From: hull@hao.UUCP (Howard Hull) Newsgroups: net.micro.amiga Subject: Re: Shell 2.01A Manx version (with extra's) Message-ID: <253@hao.UUCP> Date: Mon, 13-Oct-86 20:42:46 EDT Article-I.D.: hao.253 Posted: Mon Oct 13 20:42:46 1986 Date-Received: Tue, 14-Oct-86 07:36:08 EDT References: <5703@decwrl.DEC.COM> <3647@vax4.fluke.UUCP> Organization: High Altitude Obs./NCAR, Boulder CO Lines: 34 Summary: finding -lc32