tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] Fwd: Use CString to concat linker options


From: Thomas Preud'homme
Subject: Re: [Tinycc-devel] Fwd: Use CString to concat linker options
Date: Tue, 10 Apr 2012 16:37:27 +0200
User-agent: KMail/1.13.7 (Linux/3.2.0-2-amd64; KDE/4.7.4; x86_64; ; )

Le lundi 9 avril 2012 23:52:42, Thomas Preud'homme a écrit :
> Le lundi 9 avril 2012 23:48:45, Daniel Glöckner a écrit :
> > On Mon, Apr 09, 2012 at 05:39:48PM +0200, Thomas Preud'homme wrote:
> > > A few days ago[0] I received an email from someone who can't compile
> > > tcc since I introduce the use of CString to concat linker options.
> > > Unfortunetely, I cannot reproduce this bug. Can anyone with Windows
> > > reproduce it?
> > 
> > On Mon, Apr 05, 2012 at 09:23:07AM -0700, Lance Mason wrote:
> > > C:\WINDOWS\Users\ADMINI~1\Temp\ccdQYZqL.o:tcc.c:(.text+0x64): undefined
> > > referenc e to `cstr_new'
> > > C:\WINDOWS\Users\ADMINI~1\Temp\ccdQYZqL.o:tcc.c:(.text+0x427):
> > > undefined referen ce to `cstr_ccat'
> > > C:\WINDOWS\Users\ADMINI~1\Temp\ccdQYZqL.o:tcc.c:(.text+0x437):
> > > undefined referen ce to `cstr_cat'
> > > C:\WINDOWS\Users\ADMINI~1\Temp\ccdQYZqL.o:tcc.c:(.text.startup+0x416):
> > > undefined reference to `cstr_free'
> > > collect2: ld returned 1 exit status
> > 
> > The build-tcc.bat batch file builds libtcc with -DONE_SOURCE, which
> > makes the cstr_* functions static, so they are not found when tcc.exe
> > is linked.
> > 
> >   Daniel
> > 
> > _______________________________________________
> > Tinycc-devel mailing list
> > address@hidden
> > https://lists.nongnu.org/mailman/listinfo/tinycc-devel
> 
> Thanks. I can then work on a fix tomorrow.
> 
> Thomas Preud'homme

Except creating a public function to do the concatenation in libtcc.c, I 
couldn't find any solution. I thus reverted the last commit.

Best regards,

Thomas Preud'homme

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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