www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/11/11/01:08:00

Date: Thu, 10 Nov 1994 20:40:56 -0500 (CDT)
From: Aaron Ucko <UCKO AT VAX1 DOT ROCKHURST DOT EDU>
Subject: Re: "Floating Point exception" in compile
To: buttrey AT stat DOT Berkeley DOT EDU
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Organization: Rockhurst College; Kansas City, MO

>"Floating Point exception" messages. For example,  suppose I wanted
>to compile, but not link, the "hello.c" file supplied in the djgpp
>release using the real-mode version of gcc. I enter
>
>(Me) ..\..\utils\gcc-rm\gcc -o hello.o hello.c -v

If you don't want it to link, you need the flag `-c'.  GCC doesn't care what
extension its output is given; the other flags determine which stages are
executed (and the _input_ file extensions).

>(It) [Some preprocessor messages, including
> GNU CPP version 2.6.0 (80386, BSD syntax)  ]
>          :                  :
>End of search list.
> d:/djgpp/bin/cc1.exe d:/djgpp/tmp/cc000042 -quiet -dumpbase hello.c -version -o
> d:/djgpp/tmp/cca00042
>GNU C version 2.6.0 (80386, BSD symtax) compiled by GNY C version 2.6.0.
> d:/djgpp/bin/as.exe -o d:/djgpp/tmp/ccb00042 d:/djgpp/tmp/cca00042
> d:/djgpp/bin/ld.exe -o hello.o d:/djgpp/lib/ctr0.o -Ld:/djdpp/lib d:/djgpp/tmp/
>ccb00042 -lgcc -lc -lgcc
>Floating Point exception at eip=9809
>eax=00000001 ebx=0003106c ecx=0000ae7e edx=00000000 esi=00000000 edi=00000000
>ebp=7ffffb70 esp=7ffffb58 cs=d8 ds=48 es=48 fs=48 gs=38 ss=48 cr2=0000adf6
>Call frame traceback EPIs:
>  0x00009809
>  0x0000b362
>  0x0000c34e

And the floating point error occurs while linking a file you don't want to
link. :-)  The only reason I can think of for that is a possible version
conflict.  You've upgraded everything to 1.12, right?

>These last two belong to "stacker." My D: drive, on which djgpp
>is located, is a stacker drive. As far as I know, the only TSRs I
>have are stacker and c:\dos\cmdedit. Finally, "mem" tells me:

The machine I had to run stacker on wasn't one I wanted to run DJGPP on
(386SX/20 w/2M RAM), but I don't recall it causing that sort of problem.

--- Aaron Ucko (ucko AT vax1 DOT rockhurst DOT edu; finger for PGP public key) -=- httyp!
-=*=-Just because you're paranoid doesn't mean they aren't out to get you.-=*=-
Geek code 2.1 [finger hayden AT vax1 DOT mankato DOT msus DOT edu for explanation]: 
 GCS/M/S d(-) H s g+ p? !au a-- w+ v+ C++(+++)>++++ U-(S+)>++++ P+ L>++ 3(-) 
 E-(----) !N>++ K- W(--) M-(--) V(--) po-(--) Y+(++) t(+) !5 j R G tv--(-) 
 b+++ !D(--) B--(---) e>++++(*) u++(@) h!() f(+) r-(--)>+++ n+(-) y?

- Raw text -


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