View Single Post
Old 01 October 2017, 02:25   #53
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
Quote:
Originally Posted by Hedeon View Post
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

Last edited by emufan; 01 October 2017 at 02:31.
emufan is offline  
 
Page generated in 0.04421 seconds with 11 queries