What I want to do is make a HookEntry style stub function that calls a method specified by pointer in hook->h_SubEntry on an object instance also specified by pointer in hook->h_Data.
This is the test code I've written for this so far:
As the title says, is it possible to profile GCC-compiled executables on AmigaOS4.1 using an X1000 or Sam440?
I can't get GCC's built-in profiling (-pg) to work, it just crashes when the executable finishes on my X1000. I have been told that it should work on old AmigaOnes', but is probably not supported on X1000 or Sam440. (I have not yet tried Sam440.)
I tried using the program "Hieronymus", but it doesn't support the X1000. The readme seems to indicate it will work on the Sam440... is this really my only option?!?
Does anyone have a modern, up to date, example on how to read command line args with a /K/M switch? As in: argTemplate="PATH/K/M,ICONIFY/S";
I guess the use of the PATH is optional.
My code works just fine for PATH/K, but throw in the /M and all the text is garbled. I imagine there is a sub-array for the /M items???
It would be nice to have reusable generic code included in SDK that would be usefull for everyone, for example the image manipulation. If my code needs to load images from datatypes and then resize/scale them, this should be something like calling a specific function. This way the development time for anyone would be less and the productivity would be bigger. The image manipulation is just an example, but this could be done to other matters too.
Is this feasible or not? Are there codes ready to use?
I can get the example code on the AutoDocs wiki to work, but it only gives me the first icon. How do I loop through to get all the icon names in the path? There is no way the example code could compare all the names to "Prefs" the way it is shown.
I have to statically link with the C++ libraries, and they're rather bloated (especially because I'm using C++ streams). Hence, I'm really interested in using STLPort, which I've heard is much more compact. Has anyone used this on AmigaOS 4.x recently?
I've tried Steven's old port from 2004, but it's hardwired for clib2 and doesn't compile any more. My brief attempt to update it to use newlib ended with: