delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/08/13/20:09:06

Message-ID: <005601c12455$477bcb80$0200a8c0@lff>
From: "Luis Filipe Fabiani" <luis2 AT becrev DOT com>
To: <djgpp AT delorie DOT com>
References: <200108140003 DOT UAA12330 AT delorie DOT com>
Subject: Problems with compilation
Date: Mon, 13 Aug 2001 21:08:40 -0300
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Reply-To: djgpp AT delorie DOT com

Hi!

When I try to compile my C program on Red Hat 7 (with gcc -lm), I execute my
program and it works fine.
When I try to compile my program with DJGPP on windows ME, the source
compiles, but the program produces a result that is VERY different...

This program executes a lot of calculations (its a CFD (Computation Fluid
Dinamics))

I've attached two .txt files. The "residue - Right.txt" is the result of the
program compiled on Red Hat. The other one is the result of the program
compiled on windows.

Both programs are compiled with the -lm tag only...

What's going on?


Thank you

Luis Filipe Fabiani


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019