Re: Odd g++ compiling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



benjamin writes:

 > I have encountered a strange performance while compiling. The problem
 > is; when I change some <PARAMETER> in my <PROGRAM> and recompile it via:
 > 
 >  g++ <PROGRAM> -o <OUTPUT>
 > 
 > and run it:
 > 
 >  ./<OUTPUT>
 > 
 > I get the <Segmentation fault> error massage. OK, but when I recompile
 > it once again without changing anything:
 > 
 >  g++ <PROGRAM> -o <OUTPUT>
 > 
 > and run it:
 > 
 >  ./<OUTPUT>
 > 
 > , the program seems working perfectly well. This is the case only if
 > program is exactly <PROGRAM>, I did not noticed such a behaviour
 > before. 
 > 
 > Any suggestion?

What did your gdb run reveal about the segfault?

Andrew.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux