LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-13-2005, 05:14 AM   #1
dogbird
Member
 
Registered: Nov 2004
Location: oklahoma
Distribution: slackware 9.0
Posts: 98

Rep: Reputation: 15
probles with gcc 3.2.2


I had problems with code not executing and libraries trapping for no reason. It turns out that GCC does not delete the OB if an error occurs. so scripts that do compile and link will fail to work correctly and the timestamp check will fail. It makes debugging hellishly hard. So most of what I was complaining about was due to funny business with the OB file.

GDB aggravates this problem by eclecticly executing code. Break points can occur anywhere including blank space. Sometime GDB will not execute properly, it acts as if I have O2 or O3 optimization. Since I am debugging algorithms I do not set debugging. Perhaps there is a default O2 or O3 but it is not obviously so. the mapping is close but no cigar. For a while in earlier versions GDB did not work correctly at all. now it seems to be awkward. And I have not figured out how to get it to display assembly. That makes some kinds of debugging impossible.
 
Old 12-13-2005, 02:36 PM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
look at your installed packages.........make sure that gcc-g++-3.2.2-i386-1.tgz is also installed!!
 
  


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
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 02:13 PM
Display Driver Probles on Toshiba M30 using Fedora Core 2 and xorg linux_newbie_gu Linux - Laptop and Netbook 1 08-06-2004 06:21 PM
probles in editing menu on fedora core 2 urkhaa1975 Fedora 1 07-30-2004 02:30 AM
main menu probles! gurra59 Linux - Newbie 7 09-11-2003 02:01 AM
network printer probles linuxlah Linux - General 1 08-02-2002 12:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:10 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
Open Source Consulting | Domain Registration