I find now a solution that is easy to add, and PPC User can happy that they have the higher library number ;-)
I open in crt0.o the ixemul library V48
when a lib is open, i check in library structure for V48 number and the revisionsnumber.
But the Question is, when the program run on MOS, the library is open, i must check if its V48.is there a correct AOS conform library structure here, or can i identify elsewhere that this is a ppc library and not the 68k ixemul ?
if i detect the 68k lib, then i check for revision
so newer versions with increased API get then a higher revisionsnum.
Why not simply rename the MOS version to ixemul.library.mos ? This way the 68k programs under mos can safely use ixemul.library and mos programs can use ixemul.library.mos !!! Instead of renaming the 68k version which exists a lot longer than the mos one.
x303