Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerged DDD gives error about portage dir
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
rperrin1
n00b
n00b


Joined: 08 Aug 2003
Posts: 15

PostPosted: Tue Sep 23, 2003 5:58 am    Post subject: emerged DDD gives error about portage dir Reply with quote

Hi :) I've just started using DDD to debug a C program I am writing for class. I emerge'd DDD and it seemed to go fine. The program starts up, but when I try to open a file I get the following error:

/var/tmp/portage/glibc-2.3.2-r1/buildhere/csu/crti.S: No such file or directory

It then proceeds to not load my program, but it doesn't crash or anything either.

Does anyone have any ideas? I know nothing about portage so I didn't want to mess around with it without guidance :)

Cheers!
Craig
Back to top
View user's profile Send private message
Saruman
n00b
n00b


Joined: 23 Aug 2002
Posts: 64
Location: Brindisi

PostPosted: Tue Sep 23, 2003 7:08 pm    Post subject: Reply with quote

Have you compiled with the -g flag and _no_ -Oi (i>0) flag?
For example:
Code:

gcc -O0 -g3 myprg.c -o myprg


where

    -O0 --> no optimization at all
    -g3 --> full debug info


Anyway you may try to use gdb manually or another debugger front-end such as kdbg.
Good luck!
_________________
---
Miser, miser! Modo niger et ustus fortiter!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum