Quote:
Originally Posted by Hedeon
The error message is 'undefined symbol: Enable' in the above example.
Somewhere needs to be defined how the PPC can context-switch to AmigaOS 68K functions...but I don't know where.
vbcc has a .lib for AmigaOS calls by the PPC, for example. StormC too.
So what does gcc need is the question...
|
you are the only one with that compiler, so who should know
but look what's provided in the link lib folder(s). there was a start.o and end.o in grelbfarlk toolchain.
which got added as 1st and last object in the object link chain.
maybe something like that you have there too.
and do a 'grep Enable lib/*' to find the lib which hold that function.
maybe better results with nm, ar and objdump on those link libs.
try those options with gcc/g++:
Code:
-dumpspecs Display all of the built in spec strings
-dumpversion Display the version of the compiler
-dumpmachine Display the compiler's target processor