Re: linux to windows porting help



"vamsi" <vamsi.komati@xxxxxxxxx> writes:

Hi guys,

I am working on a project that involves porting c programs from
linux environment to windows environment. It would be great if anyone
could provide references on getting an overview on the pre-requisite
knowledege one should have to do a smooth porting.
Maybe it would be a "good" investment, to use libraries which are
known to work on both platforms. As Richard has pointed out out if it
"just" used Standard C there will be no problem. His suggestions on
network stuff sound reasonable to me, GUI-Toolkits migth be a real
problem. I just can confirm that GTK+ works fine on Unices and
Windows (even if recompiling is a thing one probably does not like to
do on Windows).

We have gone the other direction some years ago, and we did have to
port a Development environment from a windows system to a linux box,
that was quite some work, tedious and erro prone.

If I had to work on such stuff this days I would try to use
cross-platform libraries as much as I could. Here are some libraries
worth considering
- libapr
- glib
- libxml2
- libcurl

and probably a tons of others, but you get quite far with this
tool-chain (IMHO)

Regards
Friedrich



--
Please remove just-for-news- to reply via e-mail.
.



Relevant Pages

  • Re: nss_ldap using sasl with gssapi. Kerberos credentials cache problem[Scanned]
    ... First get a Windows 200x environment with the RFC2307 extensions added to the Schema. ... Next assign all of your *real* Unix users with AD accounts - make the user names conform to the Posix rules (Windows samAccountName) i.e. 8 characters starting with a letter, ... A further enhancement would be to try to access the directory using this file if readable, and if that fails or if the file is not readable then use the KRB5CCNAME environment variable if set and if that fails use the users credentials cache if that exists. ...
    (Fedora)
  • Re: Using PHP to parse specific XML tag content?
    ... XML --> HTML transformation in testing environment. ... run just fine under Windows using Cygwin, and, unless I'm ... but you have to learn XSLT or use whatever defaults ...
    (comp.lang.php)
  • Re: linux to windows porting help
    ... I am working on a project that involves porting c programs from ... linux environment to windows environment. ... Any effort to move some decent software to the Windows platform ... all the networking headers with, add the relevant sockets ...
    (comp.programming)
  • Re: Managed vs Unmanaged Bare Bones Performance Test
    ... One of the reasons that things like Virtual PC (which runs Windows on pre-Intel Macintoshes) and Rosetta work so well is that the programs being run spend very little time in the code that needs to be translated. ... If your code only spends 1% or less of its time executing the code you actually wrote, and the rest of its time either waiting on i/o or executing libraries in the operating system, then even if you have a 20X difference in performance, you're only really looking at a 20% cost in the "slower" environment. ... There are a few classes of applications where this sort of difference matters. ... The biggest thing I notice in my applications is start-up time, as the .NET Framework imposes a relatively large burden with respect to application initialization as compared to a straight Windows application. ...
    (microsoft.public.dotnet.framework)
  • Re: Using PHP to parse specific XML tag content?
    ... XML --> HTML transformation in testing environment. ... run just fine under Windows using Cygwin, and, unless I'm ... And they aren't going to run cygwin on these systems, ... It's a programming language designed ...
    (comp.lang.php)