[net.micro.pc] XENIX cc -dos question

vqh@drutx.UUCP (HoangVQ) (03/07/86)

How do you compile a C program using floating point.  The following
commands all failed with "__fltused undefined" error:
	cc -dos file.c
	cc -dos file.c -lcfp
	cc -dos file.c -lcfp -lm
Where is this "_fltused" and what is it used for ?
Any pointer would be appreciated.

V. Hoang
AT&T IS, Denver
ihnp4!dwx3bS!vqh

corey@svo.UUCP (03/13/86)

>	/* ---------- "XENIX cc -dos question" ---------- */
>	How do you compile a C program using floating point.  The following
>	commands all failed with "__fltused undefined" error:
>		cc -dos file.c
>		cc -dos file.c -lcfp
>		cc -dos file.c -lcfp -lm
>	Where is this "_fltused" and what is it used for ?
>	Any pointer would be appreciated.
>	
>	V. Hoang
>	AT&T IS, Denver
>	ihnp4!dwx3bS!vqh

This is a bug in the dos libraries and needs an update or fix to make it work.


Good Luck

Corey McCormick	
(918) 254-8000
USENET:		{ihnp4,cbosgd}!okstate!svo!corey

Quote:
"All I ask is an SVO and a winding stretch of traffic-less road.
Of course, Bill's #9 would suffice if the road was all left-handers....."

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
All of the usual disclaimers go here since they have
no idea what I am doing, but then neither do I.....