Thread: Ask for a documentation to port a windows program to linux?!
hi all!
i'm using ubuntu 9.04;
have large project in windows want "port" in linux.
uses ipc mechanism "shared memory" , "critical section" apis in windows, unfortunately have no reference change these windows apis equivalent in linux?
there comprehensive documentation or reference issues?
mean table containing equivalent apis or systemcalls in windows , linux!
example, what's alternative "initializecriticalsection" api in linux?
or alternative "critical_section" structure?
or alternative "regopenkeyex", although don't have registry in linux!!
tia.
as it's project of yours , it's large, guess best way port using wine api. porting os specific api another's in no way trivial task, specially when it's windows. think it: windows gui api integrated thw whole win api, in gnu/linux have choose qt, gtk+, motif, etc. depending on desktop environment target , other criteria. other differences are, e.g. lack of system registry... in gnu/linux use text files, either @ /etc or @ user's home, boils down standard textfile reading procedures using c or c++ standard library (or whatever language you're using)... mean change structure of code of yours using registry api different.
wine api (which gnu/linux native reimplementation of various windows apis except directx) may not perfect , may still have changes, they'll not as you'd have porting manually.
, don't fooled argument wine api "cheating". it's legimitate way of porting gnu/linux... it's reimplementation of api, gnu c standard library is.
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk Ask for a documentation to port a windows program to linux?!
Ubuntu
Comments
Post a Comment