tinycc-devel
[Top][All Lists]
Advanced

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

[Tinycc-devel] tinycc.git at repo.or.cz (was Re: TinyCC's Linker)


From: Kirill Smelkov
Subject: [Tinycc-devel] tinycc.git at repo.or.cz (was Re: TinyCC's Linker)
Date: Tue, 10 Aug 2010 22:52:53 +0400
User-agent: Mutt/1.5.6i

Hello Grischka,

FYI, people usually contact me in private once a month with tcc related
questions, so I think (a bit late, but anyway) it's maybe time to change
owner as listed at repo.or.cz? Still I could always assist with git
related questions :)

Thanks,
Kirill



On Tue, Aug 10, 2010 at 10:46:44PM +0400, Kirill Smelkov wrote:
> +tinycc-devel
> 
> Hello up there!
> 
> On Tue, Aug 10, 2010 at 11:50:07AM +0200, A. Klitzing wrote:
> > Hi there,
> > 
> > I'm trying to build my own project with another C compiler and
> > selected your tcc. It seems that it compiles my c files correctly but
> > it fails on linking with the following message.
> > 
> > /usr/bin/tcc    -Wall -fprofile-arcs -ftest-coverage -O0  -shared
> > -Wl,-soname,dynlistplugin.so -o dynlistplugin.so
> > CMakeFiles/dynlist.dir/src/played.c.o
> > CMakeFiles/dynlist.dir/src/blacklist.c.o
> > CMakeFiles/dynlist.dir/src/prune.c.o
> > CMakeFiles/dynlist.dir/src/database.c.o
> > CMakeFiles/dynlist.dir/src/dbSong.c.o
> > CMakeFiles/dynlist.dir/src/search.c.o
> > CMakeFiles/dynlist.dir/src/icon.c.o
> > CMakeFiles/dynlist.dir/src/fuzzy.c.o
> > CMakeFiles/dynlist.dir/src/plugin.c.o
> > CMakeFiles/dynlist.dir/src/prefs.c.o -lgtk-x11-2.0 -lgdk-x11-2.0
> > -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0
> > -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgmodule-2.0
> > -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lmpd -lgtk-x11-2.0
> > -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0
> > -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig
> > -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lmpd
> > -lglib-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0
> > -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0
> > -lfreetype -lfontconfig -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lrt
> > -lmpd -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0
> > -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype
> > -lfontconfig -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0
> > -lmpd
> > tcc: error: unsupported linker option '-soname,dynlistplugin.so'
> > 
> > It seems that tcc does not like a soname but I saw in the commit logs
> > that it is supported [1]. What I'm doing wrong here?
> 
> Thanks for trying tcc.
> 
> What is the tcc version you are using? Usually the latest code lives on
> the mob branch and with today's mob (bcc913) there is no problem with
> -Wl,-soname,<something>:
> 
> $ touch x.c
> $ tcc -c x.c 
> $ tcc -shared -Wl,-soname,zzz.so -o zzz.so x.o 
> # built ok
> 
> > You can find my code here: http://repo.or.cz/w/gmpc-dynamic-playlist.git
> > You can build it with these commands if you want to try:
> > cd $git_checkout
> >  cmake . -Dtests=on -DCMAKE_C_COMPILER=tcc -DCMAKE_VERBOSE_MAKEFILE=on
> >  make
> 
> Thanks, I've tried but there are lot's of additional dependencies needed
> for me to install i can't do right now.
> 
> However I'm pretty confident you are using a bit old tcc - please check
> out mob or at least master.
> 
> 
> Thanks,
> Kirill
> 
> 
> P.S. I'm listed as tcc owner only by accident -- I was the guy who
> converted it to from cvs to git, but otherwise project mainer is
> grishka, and there is tinycc-devel mailing list to which I cc'ed.
> 
> That said I'm also interested in tcc and contribute small bits
> ocasionally :)



reply via email to

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