>Another big problem is porting dependencies which sometimes takes over five minutes. >Five hours if I create shared library out of it.
there is ixlibray that allow easy automatic create of Unix libs.have not done it yet, because static is most time ok when there is no free time.megacz have done a new ixlibrary sdk and do some libs.see here.
http://megacz.back2roots.org/portsbttr.htmlmake a unix lib for MOS seem lots work.OS4 support sobj, dont know if that work fully automatic, but when look OS4 seem have most unix dynamic link libs.
>The list of supported functions is available in the headers and link libs. And the SDK is >available for download on morphos-files.net.
You mean here ?
http://www.morphos-files.net/categories/development/CI see no headers for this.i search for atanf not find.
I find some defines but i hope the MOS devs know, this defines do not work with offical C++ stdlibc++.
they need the real thing because they do undef all
#define LOG10 ((double) 2.302585092994046)
#define FPTEN ((double) 10.0)
#define FPONE ((double) 1.0)
#define FPHALF ((double) 0.5)
#define FPZERO ((double) 0.0)
#define trunc(x) ((int) (x))
#define round(x) ((int) ((x) + 0.5))
#define itof(i) ((double) (i))
#define fabs IEEEDPAbs
#define floor IEEEDPFloor
#define ceil IEEEDPCeil
#define tan IEEEDPTan
#define atan IEEEDPAtan
#define cos IEEEDPCos
#define acos IEEEDPAcos
#define sin IEEEDPSin
#define asin IEEEDPAsin
#define exp IEEEDPExp
#define pow(a,b) IEEEDPPow((b),(a))
#define log IEEEDPLog
#define log10 IEEEDPLog10
#define sqrt IEEEDPSqrt
#define sinh IEEEDPSinh
#define cosh IEEEDPCosh
#define tanh IEEEDPTanh
see cmath file
#include
// Get rid of those macros defined in in lieu of real functions.
#undef abs
#undef div
#undef acos
#undef asin
#undef atan
#undef atan2
#undef ceil
#undef cos
#undef cosh
#undef exp
#undef fabs
#undef floor
#undef fmod
#undef frexp
#undef ldexp
#undef log
#undef log10
#undef modf
#undef pow
#undef sin
#undef sinh
#undef sqrt
#undef tan
#undef tanh
>Usually problems lie on path handling. They default to /usr/ or parse paths in Unix way.
and again, do you not think its easy possible to switch this file translation off ?
I think it can easy done.