[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Bug in tinygcc linker?
From: |
Thomas Preud'homme |
Subject: |
Re: [Tinycc-devel] Bug in tinygcc linker? |
Date: |
Tue, 5 Oct 2010 19:27:03 +0200 |
User-agent: |
KMail/1.13.5 (Linux/2.6.32-5-amd64; KDE/4.4.5; x86_64; ; ) |
Le mardi 05 octobre 2010 14:59:46, Alexander Pyattaev a écrit :
> 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.
Try to apply just commit to the source in gentoo and if it solve your problem
then suggest them to cherry-pick that only patch if they don't want to package
a new version.
Best regards,
Tom
>
> 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
>
> _______________________________________________
> Tinycc-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/tinycc-devel
signature.asc
Description: This is a digitally signed message part.