This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Odd g++ compiling


Hi!


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?

Benjamin Batistic



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]