Article View: comp.sys.amiga.tech
Article #294Manx C compiler bug? Please help.
From: David Neal
Date: Sat, 01 Jul 1989 20:39
Date: Sat, 01 Jul 1989 20:39
44 lines
1455 bytes
1455 bytes
Greetings, netlanders!
Perhaps you can help me with a Manx 'C' problem.
I'm trying to port FBM to the amiga and am having
problems with Manx C.
FBM has several support modules that are linked
into every program. In the UNIX version, ar is
used to create a library. When I copied this approach
using manx's lb, the linker can't find a few modules
that I know are there. (And that compiled successfully,
I double checked).
The line was 'ln clr2gray +lfbm.lib -lc32 -lm32'.
If I opt for the brute force approach and simply
list each object module to be linked in...
ln clr2gray flalfb flblue ... -lc32 -lm32
This instead gives me:
Total data size > 64K! Too large for small data model.
I have compiled each file, however, as follows:
cc +C +D +L clr2gray.c -DAMIGA
According to the manual, this should give me large
code, large data and 32 bit integers. Anyone have
any ideas? Is this a bug? I have manx 3.6a, by the way.
Thanks.
David Neal
abbadon@nuchat.uucp
{killer!texbell||uunet}!nuchat!abbadon
Technical Details
Message-ID:
<12046@nuchat.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!csd4.milw.wisc.edu!lll-winken!uunet!nuchat!abbadonShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!csd4.milw.wisc.edu!lll-winken!uunet!nuchat!abbadon From: abbadon@nuchat.UUCP (David Neal) Newsgroups: comp.sys.amiga.tech Subject: Manx C compiler bug? Please help. Message-ID: <12046@nuchat.UUCP> Date: 1 Jul 89 20:39:17 GMT Distribution: usa Organization: South Coast Computing Services, Inc. - Houston, Tx Lines: 44