tinycc-devel
[Top][All Lists]
Advanced

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

[Tinycc-devel] tinycc oddity


From: david wallin
Subject: [Tinycc-devel] tinycc oddity
Date: Wed, 30 Jul 2003 21:07:19 +0100


Hi all,

I'm trying to figure out why the following two ways of compiling the attached file results in different output when executing the resulting binary.

Version 1:

gcc -Wall -mpreferred-stack-boundary=2 -DNO_COMPILE -DCONFIG_TCC_PREFIX=\"/usr/local\" -I. -o pheno_main pheno_main.c -L. -ltcc -ldl -lm

results in:

"exception!
fitness: inf"

Version 2:

gcc -Wall -mpreferred-stack-boundary=2 -DCONFIG_TCC_PREFIX=\"/usr/local\" -I. -o pheno_main pheno_main.c -L. -ltcc -ldl -lm

results in:

"Floating point exception"


any help would be appreciated.

Attachment: pheno_main.c
Description: Text document




cheers,


--david.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]