amiga-gcc, nix and IFF
Me again, with another silly question.
I was working this morning to get the project I have working under VCC working on amiga-gcc and his something I don't quite understand. There are 4 or 5 exes using Amiga3.x libraries and most are successful. The last exe in is linked from 2 object files. The first uses the nix time() function, the second uses IFFParseBase. By default m68k-amigaos-gcc complains about a missing reference to gettimeofday() at link... I tried -lnix but no joy. Next I added -mcrt=clib2 (cargo-culting from the libcurl https example) and the time problem is solved, but now I get an undefined reference to IffParseBase. So my layman's brain is telling me that the default crt setting isn't giving me access to unix functions but the libamiga in clib2 doesnt seem to be complete (at least grep tells me it contains DosBase but not IffParseBase). Any help or suggestions or corrections in direction appreciated. Alan |
Update: -lstubs -mcrt=clib2 seems to be the magic key :-)
|
Quote:
I prefer to use only: -noixemul PS: https://github.com/bebbo/amiga-gcc/wiki/Libraries |
All times are GMT +2. The time now is 05:38. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.