[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] __aeabi_idivmod & __aeabi_idiv are undefined
From: |
Thomas Preud'homme |
Subject: |
Re: [Tinycc-devel] __aeabi_idivmod & __aeabi_idiv are undefined |
Date: |
Sun, 11 Nov 2012 20:17:43 +0100 |
User-agent: |
KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; ) |
Le dimanche 11 novembre 2012 19:53:27, Christian Jullien a écrit :
[SNIP]
>
>
> I get
>
> tcc: error: undefined symbol '__aeabi_idiv'
>
> tcc: error: undefined symbol '__aeabi_idivmod'
>
[SNIP]
>
> Changing int to unsigned int results in:
>
> tcc: error: undefined symbol '__aeabi_uidiv'
>
> tcc: error: undefined symbol '__aeabi_uidivmod'
>
> Now the question:
>
> Is it expected to link with libgcc.a ? What other __aeabi_xxx functions are
> missing?
I don't know but I could look at the source to make a list. I don't have much
time now though.
>
> Could we add them in libtcc.a ?
I guess I could write easily suboptimal functions for integer manipulation. If
some functions are needed for float manipulation it might require me more time
though.
>
>
>
> If tcc is expected to replace gcc, imho it should not use any gcc specific
> lib.
yes indeed. It should support both modes.
>
> I've also checked that no .a exist in /usr/lib having those missing
> functions.
>
>
>
> Christian
Thomas
signature.asc
Description: This is a digitally signed message part.