amigalib

3 posts / 0 new
Last post
mritter0
mritter0's picture
Offline
Last seen: 2 years 5 months ago
Joined: 2014-04-21 21:15
amigalib

I have ported a Cx from OS3.9 to OS4.1FE but need to link amiga.lib for Cx commands (ArgArrayInit(), ArgString(), etc).

I am drawing a total blank on how to do. I am not using -libauto. -lamiga and -lamiga.lib say cannot find.

I am using CodeBench, and putting that in Settings->Linker tab->Linker switches.

Side question: why are these commands still in amigalib and not the Commodities library?

salass00
salass00's picture
Offline
Last seen: 6 months 2 weeks ago
Joined: 2011-02-03 11:27
You should have libamiga.a as

You should have libamiga.a as a soft link in SDK:newlib/lib. If you've restored the SDK install from a backup you may have lost it.

You can recreate it with:

makelink soft SDK:newlib/lib/libamiga.a //clib2/lib/libamiga.a

mritter0
mritter0's picture
Offline
Last seen: 2 years 5 months ago
Joined: 2014-04-21 21:15
That worked. Thanks.

That worked. Thanks.

Log in or register to post comments