LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-22-2003, 03:33 AM   #1
houyi99
LQ Newbie
 
Registered: Sep 2003
Location: Singapore
Posts: 1

Rep: Reputation: 0
help needed by newbie....


hi guys...
i really new to linux.... and i got a question to ask... hope you guys could help me with it....

its like this.... i want to compile a windows c++ application in linux.... i understand that i could use gcc to do it.....
but when i type gcc -x c++ test.cpp amost 400 errors came out....
i know that theres a difference in coding c++ in windows n linux... but is there anyway i could compile the application so that its compatible with linux without changing the codes? e.g any software i can use to covert windows application to linux so that it will work on linux?

thanks for the help....
 
Old 09-22-2003, 03:56 AM   #2
daveo
Member
 
Registered: Sep 2003
Location: Holland
Distribution: Gentoo 1.4, Slackware
Posts: 196

Rep: Reputation: 30
Re: help needed by newbie....

Quote:
Originally posted by houyi99
hi guys...
i really new to linux.... and i got a question to ask... hope you guys could help me with it....

its like this.... i want to compile a windows c++ application in linux.... i understand that i could use gcc to do it.....
but when i type gcc -x c++ test.cpp amost 400 errors came out....
i know that theres a difference in coding c++ in windows n linux... but is there anyway i could compile the application so that its compatible with linux without changing the codes? e.g any software i can use to covert windows application to linux so that it will work on linux?

thanks for the help....
As far as I know, there's not. The code written for windows applications is much more different then linux. For example try to call a windows API call under linux, would that work?

Hope this helps,
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
AIX - Newbie help needed! bobmcobob AIX 4 10-22-2004 08:04 AM
The fun of being a newbie... (help needed) abethepunk Linux - Newbie 11 07-21-2003 06:05 PM
Newbie help needed nosebleed Linux - Software 11 03-09-2003 11:41 PM
Newbie : Help with Samba Needed dastrix Linux - Networking 2 02-25-2003 03:39 PM
help for the newbie needed albean Linux - Newbie 7 10-04-2002 09:45 AM


All times are GMT -5. The time now is 04:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration