Hello,
I'm using gcc_2.95.3-2 and I get a segmentation fault before main.
In gdb seting break _init doesn't help, it seems that the error appears before loading the shared libraries.
Any help?
Thanks,
Cristian
Hello,
I'm using gcc_2.95.3-2 and I get a segmentation fault before main.
In gdb seting break _init doesn't help, it seems that the error appears before loading the shared libraries.
Any help?
Thanks,
Cristian
Any variables that are global or local to main will have their constructors called before main. So if one of those segfaults, it happens before main.
hth
-nv
She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."
When in doubt, read the FAQ.
Then ask a smart question.