View Single Post
Old 04 February 2023, 21:24   #10
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,510
The vbcc_PosixLib from Aminet is compiled for 68020/68881! That should explain your problems, as soon as you link with it. Yes, the Readme is confusing (or plain wrong!). Will be fixed.

Theoretically you can try to compile most of it for 68000. Source is included. Change the third line of
Makefile.68k
to
COPTS = -c99 -O1 -Iinclude -DNO_INLINE_STDARG
.

-lposix must be linked before -lvc, because some clib functions will be overwritten by their extended POSIX version.

-mrel merges sections with relative references between them. It has nothing to do with base-relative addressing (small-data). Useful, when your section naming is a mess.
phx is offline  
 
Page generated in 0.05890 seconds with 11 queries