Quote:
Originally Posted by tygre
Should I keep -mrel at all, then?
|
Remove it and see what happens. With all object files from vbcc there shouldn't be any difference.
Quote:
I actually removed all dependencies to POSIX (wanted to have "pure" Amiga code for a long time anyway)
|
That's what I always recommend. Eliminate as many dependencies as possible and make it a real AmigaOS program.
POSIX emulation is for Q&D Unix ports only.
Quote:
but still the Guru 8000 0003 comes. It happens, it seems, before my main() is even called...
|
Constructors are being called before
main()
. PosixLib certainly inserted some of these. But as you say it is gone... check your other constructors (functions named
__INIT..
). Or let the linker generate a mapfile to see which constructors have been found. Or debug the startup. Shouldn't be so difficult.
EDIT: BTW, I just realised you passed
-mrel
to the vc-frontend. That cannot work as this is a linker-option only.