🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #49396

re: GCC on AMIGA - PROBLEM !!!!

#49396
From: James Eric Calvert
Date: Sat, 05 Feb 1994 01:37
16 lines
1401 bytes
Although I claim to be no expert, I have gotten amiga library calls to work
with gcc-2.3.3.  The trick is to use the gcc amiga library (if you got the
"precompiled" version of gcc, it should have been included).

I had to compile as follows:
    gcc -o test test.c -lamy

It is imperative that the `-lamy' follows the last filename to be compiled.
This way, it tells the linker to use the amiga library when linking.

I hope this helps (and doesn't confuse the issue :))
J. Eric Calvert                             /X\   |\  /| ||  /X\    /X\   
e-man@cup.portal.com                       // \\  |\\//| || // _   // \\
My code was hard to write,             \\ //---\\ ||\/|| || \\ /X //---\\   
why should I make it easy to read?      \X/     \\||  || ||  \X/ //     \\
Technical Details
Message-ID: <102808@cup.portal.com>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!att-in!news.bu.edu!olivea!spool.mu.edu!howland.reston.ans.net!vixen.cso.uiuc.edu!sdd.hp.com!portal!cup.portal.com!e-man

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,3f48e5800c45f718
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1994-02-05 05:24:59 PST
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!att-in!news.bu.edu!olivea!spool.mu.edu!howland.reston.ans.net!vixen.cso.uiuc.edu!sdd.hp.com!portal!cup.portal.com!e-man
From: e-man@cup.portal.com (James Eric Calvert)
Newsgroups: gnu.gcc.help
Subject: re: GCC on AMIGA - PROBLEM !!!!
Message-ID: <102808@cup.portal.com>
Date: Fri,  4 Feb 94 17:37:08 PST
Organization: The Portal System (TM)
Distribution: world
Lines: 16