473,573 Members | 2,800 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Porting Linux C application to .Net

Hi,

I am a newbie to .Net.

I have an application in running in linux, a set of .c
and .h files.

I also have a makefile in linux to create the executable.

I want to port this to windows (.Net environment).

I want my application to be portable so that I can
develop in .Net environment and later port it back to
linux.

Can somebody explain how to achieve this.
Is there any free tool that would automatically do this.
If I have to write some code in the main.c to make it
portable, what should I write?

I would really appreciate an early and descriptive reply.

Thanks in advance.

Sunanda.
Nov 16 '05 #1
1 1601
>From: "Sunanda" <su******@yahoo .com>
Sender: "Sunanda" <su******@yahoo .com>
Subject: Porting Linux C application to .Net Hi,

I am a newbie to .Net.

I have an application in running in linux, a set of .c
and .h files.

I also have a makefile in linux to create the executable.

I want to port this to windows (.Net environment).

I want my application to be portable so that I can
develop in .Net environment and later port it back to
linux.

Can somebody explain how to achieve this.
Is there any free tool that would automatically do this.
If I have to write some code in the main.c to make it
portable, what should I write?

I would really appreciate an early and descriptive reply.

Thanks in advance.

Sunanda.


There are still no official porting tools from GCC to VC++, but there are
some "home-grown" ones, like MigraTec. I don't really know if it is a
quality product, though. Hope this helps,
--
Marko Radmilac, Microsoft Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
2045
by: Jarek Zgoda | last post by:
What you consider a "best way to deploy linux python app"? I don't want to install library modules into user's site-packages, so distutils is no help. Currently, I change sys.path (adding directory where library modules are stored) and I ask users to install application into /opt hierarchy, but I don't think it's optimal. -- Jarek Zgoda...
0
1093
by: jeff | last post by:
Hi, Does anyone know if there is any paper on web talking about why should port existing MFC application to pure dotnet application (WinForm)? what kind of cost will it be? Thanks in advance Jeff
4
5721
by: r.nikhilk | last post by:
Hi, We are porting C++ applications from 32 bit to 64 bit on AIX platform. (The current version of AIX is 5.3 and xlC verison is 8.0). We are able to compile the applications by including the -q64 option in xlC compiler. But, when we link all these libraries to one of the main applications, we are getting the following errors: ld:...
1
1195
by: sundarashiv | last post by:
Hi all , I have a linux application that needs to run on a python interpreter ..So what is the best way to have the same functionalities provided by "C" to be implemented in python . WORST IDEA : Recode the entire application in Python . ..looking for ideas better than mine
5
9820
by: Sebastien Degardin | last post by:
He everyone, Does anybody know if it's possible to load and use a library compiled on windows from a Linux application ? We have a couple of a Dll files to use in our C++ linux application. Regards, Sebastien Degardin
2
3835
by: sandip desale | last post by:
Dear All, We have a Tcl/Tk application written using Python 2.2. Using this application we want to call some customizable Java APIs. I tried porting Tcl/Tk application to Jython but not able to do the same as TKinter library is not available with JYthon. Can you please help me in porting Tkinter application to Jython? Also kindly let me...
2
1248
by: awalter1 | last post by:
Hi, I have a Python application that runs under HPUX 11.11 (then unix). It uses threads : from threading import Thread # Class Main class RunComponent(Thread): My application should run under Linux (red hat 3 ou 4) and I read that differences exist between the implementation of threads : on HPUX 11.11 there is CMA (ou DCE) threads and on...
2
2779
by: Fabian Braennstroem | last post by:
Hi, I would like to track the cpu usage of a couple of programs using python. Maybe it works somehow with piping 'top' to python read the cpu load for a greped application and clocking the the first and last appearence. Is that a good approach or does anyone have a more elegant way to do that? Greetings!
0
1777
by: Michael Palmer | last post by:
On Sep 16, 12:30 pm, binaryjesus <coolman.gu...@gmail.comwrote: I haven't tried it myself, but I came across a blog post the other day that describes a way of building windows installers for pyGTK applications at http://unpythonic.blogspot.com/2007/07/pygtk-py2exe-and-inno-setup-for-single.html
0
7781
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7699
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8027
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8202
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7788
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8066
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5594
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5292
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3733
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.