compilation on different machines led to different executables
- From: "bau12374" <jens.moedinger@xxxxxx>
- Date: 30 May 2005 09:40:45 -0700
I was provided with the source code and the executable of a numerical
model, which I have to use for my studies.
After compiling the code on my machine I tried to run the executable.
Unfortunately, it stopped due to a "division by zero" forced by a
mistake in the code for special input values equal zero. I do not
encounter this problem with the original executable, although it is
based on the very same code.
Can anyone provide me with an explanation - given the code, compiler
and compiler flags being the same -
1) why the original executable somehow handles the error (division by
zero should always lead to an abort) and
2) why there are different executables when compiling it on different
machines (both windows)?
Solutions or Workarounds are welcome, but I'm mainly interested in a
general explanation.
Thank you for your help.
Jens
.
- Follow-Ups:
- Re: compilation on different machines led to different executables
- From: Tim Prince
- Re: compilation on different machines led to different executables
- Prev by Date: Re: Book on low level program optimization
- Next by Date: calling Microsoft PlaySound routine from CVF
- Previous by thread: auto generation of make files, best location for tests
- Next by thread: Re: compilation on different machines led to different executables
- Index(es):
Relevant Pages
|