tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] Bug in tinygcc linker?


From: Alexander Pyattaev
Subject: Re: [Tinycc-devel] Bug in tinygcc linker?
Date: Tue, 5 Oct 2010 16:59:46 +0400

Tom,
updating to latest git (mob branch) fixed the trouble. Unfortunately, the 
release in gentoo repository does not have this fix yet. I will, however, post 
a bug to gentoo so that they get newer version.
Alex.
On Tuesday 05 October 2010 14:07:29 Thomas Preud'homme wrote:
> Le mardi 05 octobre 2010 11:00:07, Alexander Pyattaev a écrit :
> > Hello.
> > I have installed tinygcc just to play around and tried to use it on quite
> > big pure-c project. It compiled everything nicely, except for the linking
> > phase:
> > 
> > # tcc -v -o model/model model/antenna.o model/channel.o
> > model/channel_model_friss.o model/channel_probe.o model/conf_utils.o
> > model/main.o model/model.o model/model_internal.o model/node.o
> > model/regen_functs.o model/ringbuffer.o model/scheduler.o
> > model/statistics.o model/traffic_generator.o model/transmission.o -Llib
> > -lm -lc2o -lconfig -lgsl tcc version 0.9.25
> > -> model/antenna.o
> > -> model/channel.o
> > -> model/channel_model_friss.o
> > -> model/channel_probe.o
> > -> model/conf_utils.o
> > -> model/main.o
> > -> model/model.o
> > -> model/model_internal.o
> > -> model/node.o
> > -> model/regen_functs.o
> > -> model/ringbuffer.o
> > -> model/scheduler.o
> > -> model/statistics.o
> > -> model/traffic_generator.o
> > -> model/transmission.o
> > tcc: undefined symbol 'strcpy'
> > I do not think any kind of arguments can make it forget where to get
> > stdlib function....
> > I can not send you the code (unfortunately, it is closed), but if you
> > need more testing just email me.
> 
> Are you trying with latest tcc from the mob branch ? Because there is a
> linkage problem on amd64 which have been fixed here (commit bcc9137)
> 
> > Alex.
> 
> Tom
> 
> > _______________________________________________
> > Tinycc-devel mailing list
> > address@hidden
> > http://lists.nongnu.org/mailman/listinfo/tinycc-devel



reply via email to

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