[Tinycc-devel] inefficient/broken static linking? (uclibc on i386)

2011-09-19 Thread u-tcc-uepj
Hello, It looks like uclibc is not "fully" supported with tcc, there are some glitches even though it works somehow. I wonder what is the reason for the executables becoming so big with -static. Even "hello world"-style programs become 300k executables while gcc with uclibc properly creates corre

[Tinycc-devel] likner script parser - support relative/short file names?

2011-09-19 Thread u-tcc-uepj
Hello, I had to apply the following patch to be able to use my uclibc instance which contains relative library file names in the libc.so linker script. It does not work otherwise, tcc complains about unrecognized file format. (It worked however if the script contained only absolute file names.)

Re: [Tinycc-devel] likner script parser - support relative/short file names?

2011-09-19 Thread Thomas Preud'homme
Le lundi 19 septembre 2011 18:49:32, u-tcc-u...@aetey.se a écrit : > Hello, > > I had to apply the following patch to be able to use my uclibc instance > which contains relative library file names in the libc.so linker script. > > It does not work otherwise, tcc complains about unrecognized file

Re: [Tinycc-devel] likner script parser - support relative/short file names?

2011-09-19 Thread u-tcc-uepj
Hello Thomas, Thanks for your reply. On Mon, Sep 19, 2011 at 07:30:09PM +0200, Thomas Preud'homme wrote: > > Hope this change makes sense. > It does but it's incomplete. You should tcc_add_dll after > tcc_add_file_internal > because each file must be searched first in current directory and then