473,387 Members | 1,545 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.

GCC not running compiled code

1
Hi all,

I am a reasonably experienced C/C++ developer but I have always used Visual Studio... until now! I have recently had to move to Eclipse as I am working on Linux. I have compiled my code (which I have tested works with GCC 3.4.2) and am trying to compile it with GCC 4.1.2. The code compiles fine with the newer version of GCC, but when I go to run it from Eclipse it terminates immediately with <terminated exit value -1> error. It does not even run the first line (which is a printf statement so I can see how far the code gets). Is there something else I need to do to my project settings to allow my code to run?

Thanks for your help, this is driving me nuts!

Steve
Aug 1 '07 #1
0 1009

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Claire | last post by:
How do I determine whether Im running in debug or release mode from code please. thanks Claire
7
by: Wysiwyg | last post by:
Is there any way besides adding a specific debug command line argument for the project to tell if an application is running in debug mode? Thanks! Bill
4
by: Sara T. | last post by:
Do we have the way to run my web page at the first times that is not SLOW ? I realize that comes from compiling to machine code at the first times. But there could have some way to recompile...
1
by: Steve Franks | last post by:
I have a web site built using ASP.NET 2.0 and Visual Studio 2005. If also have a C# assembly that was compiled using VS 2003, so this assembly runs under the 1.1 framework. If I use this...
3
by: Oenone | last post by:
In VB6, it's possible to create a project with a class library within it. The project can then be run with F5, and it sits and waits for an external process to create an instance of one of its...
2
by: Fiddelm3742 | last post by:
Well, I dont exactly know if there was a change in how Console Application projects are run/compiled from VS2003 to 2005 or what, but I have an application (mostly C) that used to run in about 2...
9
by: Michael.Suarez | last post by:
Suppose I have a program that prompts you with a dialogbox to enter a password. If you get the password correct, it allows you into the program, else it kills the program. Suppose that when I...
1
by: Brett Wesoloski | last post by:
Ok in trying to figure out why I could not change teh Applicaiton.Run I found something else that is probably causing it. I left the program as Application.Run(new Login()); then in the...
24
by: Mark | last post by:
Hi, I'm new to python and looking for a better idiom to use for the manner I have been organising my python scripts. I've googled all over the place about this but found absolutely nothing. I'm...
8
by: geert | last post by:
Hi all, I have a mac mini running maocosx 10.5 leopard I want to deploy a django project on. My backend is MySQL, and I have it running as a 64- bit app. Of course, apache2 is also running as...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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
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.