-   Slackware (
-   -   Problems Ktigcc(compiling programs) (

hakin9 11-30-2007 09:57 AM

Problems Ktigcc(compiling programs)
I install Ktigcc from source and was able to start the gui on the command line. But when I try to compile a program on it. It freezes on me(not the computer it's continuously compiling).

I'm not sure if I installed it right or if I am missing some step (for example like linking a file).

H_TeXMeX_H 11-30-2007 11:04 AM

Run it in a terminal and see what kind of errors it gives you. If that doesn't work compile it with fewer optimization flags and with the '-g' option for debug, then attach 'gdb' to it or load it in 'gdb'. i.e.


gdb ktigcc
# now within the gdb shell, it should say '(gdb)', type

the program should start, then use the program normally and when it crashes, gdb will tell you what went wrong (you may not understand what it's saying, but if you post it here or to the maintainers of the program, someone might).

hakin9 12-02-2007 07:37 PM

This is what I got from the gdb shell


(gdb) start
Breakpoint 1 at 0x80606a4: file ktigcc.cpp, line 73.
Starting program: /usr/local/bin/ktigcc
[Thread debugging using libthread_db enabled]
[New Thread -1235736880 (LWP 3589)]
[Switching to Thread -1235736880 (LWP 3589)]
main (argc=1, argv=0xbfabb604) at ktigcc.cpp:73
73      int main(int argc, char *argv[])

H_TeXMeX_H 12-03-2007 02:47 AM

Well, this tells you exactly where the program crashes in its execution, "file ktigcc.cpp, line 73.", and the state when it crashed,

main (argc=1, argv=0xbfabb604) at ktigcc.cpp:73
73      int main(int argc, char *argv[])

This kind of info should probably be posted to the maintainers of the program, they will be more able to help.

All times are GMT -5. The time now is 02:37 PM.