473,587 Members | 2,588 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 1605
>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
1094
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
5722
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
1196
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
2781
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
7918
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
7843
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
8220
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...
0
6621
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5392
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
3840
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2353
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1452
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1185
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.