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: Daniel Glöckner
Subject: Re: [Tinycc-devel] Fwd: Use CString to concat linker options
Date: Mon, 9 Apr 2012 23:48:45 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

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 



reply via email to

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