It appears you have not registered with our community. To register please click here ...

Author Topic: problems with gcc  (Read 2086 times)

bobbaz

  • Newbie
  • *
  • Posts: 12
  • Karma: +10/-0
    • View Profile
    • Email
problems with gcc
« on: January 27, 2006, 08:19:03 AM »
Hi,
I hope this is the right place for my question/problem. I got gcc installed on my computer. The compiler seems to compile my code, but the output doesn\'t work. Like I do gcc source.c -o result where result is an executable file. Unfortunately it doesn\'t work...
Is there something I got to change in the gcc-configuration file? How can I do that?

Thanks for your help!                    Bobbaz

dynaweb

  • <b>Canine Deamon</b>
  • Administrator
  • Sr. Member
  • *****
  • Posts: 493
  • Karma: +10/-0
  • Generic personal text here ...
    • MSN Messenger - danno_d_manno@yahoo.com
    • View Profile
    • DynaWeb Designs
    • Email
problems with gcc
« Reply #1 on: January 27, 2006, 10:23:58 AM »
Sure, this is a good place to post, but you need to provide us with more details.  Distro, versions of stuff and current config file contents are always useful in troubleshooting, otherwise it is just phychic which doesnt work as well.
Those who cannot learn from history are doomed to repeat it. -- Linux learns.

zelo

  • Super Moderator
  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 264
  • Karma: +10/-0
    • ICQ Messenger - 233717
    • MSN Messenger - webmaster@zelo.com
    • Yahoo Instant Messenger - zelo@yahoo.com
    • View Profile
    • http://www.zelo.com
    • Email
problems with gcc
« Reply #2 on: January 27, 2006, 08:44:37 PM »
How do you know it\'s working if you are not getting any output... you need to provide more information than what you have given in this post.

bobbaz

  • Newbie
  • *
  • Posts: 12
  • Karma: +10/-0
    • View Profile
    • Email
problems with gcc
« Reply #3 on: January 28, 2006, 07:22:07 AM »
Im using gcc 3.3.2 on Suse 9.0. When I try to compile some c-code I get first some mistakes and warnings (which I can block with -w). After I get an output-file which usually shout be executable. Unfortunately here it\'s not...
Where do I have to look for the current configuration?

Bobbaz_

dynaweb

  • <b>Canine Deamon</b>
  • Administrator
  • Sr. Member
  • *****
  • Posts: 493
  • Karma: +10/-0
  • Generic personal text here ...
    • MSN Messenger - danno_d_manno@yahoo.com
    • View Profile
    • DynaWeb Designs
    • Email
Try upgrading GCC to lastest version to fix parsing errors
« Reply #4 on: January 28, 2006, 11:07:21 PM »
Quote from: bobbaz
Im using gcc 3.3.2 on Suse 9.0. When I try to compile some c-code I get first some mistakes and warnings (which I can block with -w). After I get an output-file which usually shout be executable. Unfortunately here it\'s not...
Where do I have to look for the current configuration?
 
Bobbaz_

There have been reported bugs in simple parsing using GCC versions 3.3.x. Since the GCC version 3.4.x is out now, the parsing errors have been addressed. I recommend to download and install the lastest version of GCC in hopes that your issue may be related to the reported parsing bug in your current version.
 
Good luck :)
Those who cannot learn from history are doomed to repeat it. -- Linux learns.

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
2220 Views
Last post December 11, 2006, 06:29:47 PM
by dynaweb
0 Replies
1262 Views
Last post March 19, 2010, 12:13:40 PM
by data