tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] float value triggers error


From: Daniel Glöckner
Subject: Re: [Tinycc-devel] float value triggers error
Date: Sun, 3 Nov 2013 23:29:08 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

On Sun, Nov 03, 2013 at 12:09:32PM -0800, Steven G. Messervey wrote:
> mob-branch, configured with "--with-libgcc" only, debian squeeze 32-bit:
> tcc: error: undefined symbol '__tcc_fpinit'
> tcc: error: undefined symbol '__tcc_cvt_ftol'

--with-libgcc uses libgcc instead of libtcc1.
This will of course fail for tcc specific functions.

__tcc_cvt_ftol does the same as libgcc's __fix{s,d,x}fdi
and there are already tokens defined for those functions
for use on ARM. The only difference is that __tcc_cvt_ftol
passes the floating point value in a register and therefore
does not have to distinguish between float, double, and
long double.

__tcc_fpinit is probably redundant on Linux as GLIBC
already calls __setfpucw right before calling main.

  Daniel




reply via email to

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