473,387 Members | 1,517 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

VS2005 to gcc

Hi, I have a simple C++ source file which works perfectly in Visual
Studio 2005. Unfortunately I have to get it compiled for use on a
remote linux machine. Using putty I get a zillion cryptic error
messages that scroll off the putty screen making it impossible to see
the first error messages. Is there a way to compile Linux executables
on Windows or somehow get a more forgiving Linux compiler or a page
with all the nonos in gcc that are acceptable in VS?
Jun 27 '08 #1
4 1262
nk****@gmail.com wrote:
Hi, I have a simple C++ source file which works perfectly in Visual
Studio 2005. Unfortunately I have to get it compiled for use on a
remote linux machine. Using putty I get a zillion cryptic error
messages that scroll off the putty screen making it impossible to see
the first error messages.
Hint: Redirect the error messages to a file so that you can read through
them after the compiler is done.
Is there a way to compile Linux executables
on Windows
Don't know. Also: this is off-topic here. You might get better answers in a
Linux or Windows group.
or somehow get a more forgiving Linux compiler or a page
with all the nonos in gcc that are acceptable in VS?
a) Since you get a zillion messages, I venture the conjecture that there are
libraries missing on the linux box that the program requires. In that case,
it's not just about making gcc happy.

b) Specific compiler issues are best addressed on forums dedicated to those
platforms.
Best

Kai-Uwe Bux
Jun 27 '08 #2
"Kai-Uwe Bux" wrote
nk****@gmail.com wrote:
Hi, I have a simple C++ source file which works perfectly in Visual
Studio 2005. Unfortunately I have to get it compiled for use on a
remote linux machine. Using putty I get a zillion cryptic error
messages that scroll off the putty screen making it impossible to see
the first error messages.

Hint: Redirect the error messages to a file so that you can read through
them after the compiler is done.
The OP is a so called "windows" programmer,
so you have to tell him what redirection means
and how it is done since this concept is alien to "windows" programmers.
Most of them even don't know what a shell is... :-)
This is really no joke! That's what MS makes of these people,
ie. il stupido to the max.
Is there a way to compile Linux executables
on Windows

Don't know. Also: this is off-topic here. You might get better answers in a
Linux or Windows group.
or somehow get a more forgiving Linux compiler or a page
with all the nonos in gcc that are acceptable in VS?

a) Since you get a zillion messages, I venture the conjecture that there are
libraries missing on the linux box that the program requires. In that case,
it's not just about making gcc happy.

b) Specific compiler issues are best addressed on forums dedicated to those
platforms.
Jun 27 '08 #3

<nk****@gmail.comwrote in message
news:9c**********************************@l28g2000 prd.googlegroups.com...
Hi, I have a simple C++ source file which works perfectly in Visual
Studio 2005. Unfortunately I have to get it compiled for use on a
remote linux machine. Using putty I get a zillion cryptic error
messages that scroll off the putty screen making it impossible to see
the first error messages
You can redirect the output to a file.
whatevercommadntocompilehere MyOutput
then you can look at MyOutput at your leasure.
>. Is there a way to compile Linux executables
on Windows
Well, DevCPP uses a more linuxesque compiler. You can donload DevCPP for
free.
or somehow get a more forgiving Linux compiler or a page
with all the nonos in gcc that are acceptable in VS?

Jun 27 '08 #4
In addition to what others have suggested, you may want to check out
cygwin. You can then use g++ on your Windows box, which may be a
little easier to work with than a remote Linux machine.
Jun 27 '08 #5

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

Similar topics

3
by: Robert | last post by:
I have an application with custom configuration sections in it's app.config file. Here's a shortened excerpt: <monitors> <monitor...
3
by: Darrin | last post by:
Hello, I see that VS2005 and the new framework 2.0 is out to the public now. Wondering about some things. When you install the new framework 2.0 can a person still use visual studio 2003 or...
9
by: Jeff Gaines | last post by:
I have just installed VS 2005 (MSDN version) and I am having problems coping files to the Projects folder while VS2005 is running. The projects folder is on a network share and I have used...
5
by: GaryDean | last post by:
(my original post was inaccurate but this post accurately describes what I think is a very bad vs2005 bug) short description... Deleting a dataset and recreating it from the dataadapter causes...
10
by: musosdev | last post by:
Hi guys I'm trying to migrate to VS2005... I've managed to do that, but realised I'd opened my web projects as file projects, and I'm getting the error about network BIOS command limit. ...
6
by: Brad | last post by:
I have a win2003 server workstation with multiple webs, each web has it's own ip address. In VS2005, if I select to open an existing web site, select Local IIS, the dialog correctly displays a...
7
by: Frank Rizzo | last post by:
Is it me or is the speed of VS2005 actually slower than VS2003? The startup is pretty bad - even though I changed VS to display an empty environment. When I create a new form and want to change...
9
by: yevvi | last post by:
Hi, We have a product with bunch of dlls which are now built with Visual Studio 2003. We want to switch the build to use VS2005. I have read that in VS2005 runtime libraries come as...
15
by: Joseph Geretz | last post by:
OK, I'll admit it up front - I just don't get it. Here's our previous VS2003 development model. Developers develop the WS solution on their own workstations, using their own IIS web servers...
5
by: Gumby | last post by:
Hi there! A "special" project team in our department has decided to purchase XMLSpy. We standardize on VS2005 as our IDE and up to now everyone has used the XML parser in VS2005. Are there...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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,...
0
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...
0
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,...
0
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...

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.