19 February 2021, 12:16 | #1 |
Registered User
Join Date: Jun 2020
Location: Scotland
Posts: 146
|
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 Last edited by alancfrancis; 19 February 2021 at 12:24. |
19 February 2021, 12:24 | #2 |
Registered User
Join Date: Jun 2020
Location: Scotland
Posts: 146
|
Update: -lstubs -mcrt=clib2 seems to be the magic key :-)
|
22 February 2021, 09:12 | #3 |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 680
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
I need An IFF/8SVX and an IFF/ANIM Player for PC | searcher | request.Apps | 24 | 02 July 2020 12:09 |
Amiga *nix n00b | Amiga1992 | support.Amix | 45 | 22 February 2017 08:02 |
Iff.library and gcc | watertonian | Coders. C/C++ | 8 | 11 September 2015 08:23 |
Support section for AMIX and *NIX on the Amiga? | Noth | project.EAB | 8 | 04 June 2015 10:07 |
PUAE 2.1.0 (amiga emulator for *nix systems) | GnoStiC | support.OtherUAE | 56 | 27 July 2010 12:38 |
|
|