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?
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
That worked. Thanks.