[LLVMdev] Question on link error

Ted Neward ted at tedneward.com
Thu Feb 21 10:59:27 PST 2008


Any insights?

Ted Neward
Java, .NET, XML Services
Consulting, Teaching, Speaking, Writing
http://www.tedneward.com
 

> -----Original Message-----
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
> On Behalf Of Anton Korobeynikov
> Sent: Friday, February 15, 2008 3:52 AM
> To: LLVM Developers Mailing List
> Subject: Re: [LLVMdev] Question on link error
> 
> Hello, Ted
> 
> > __main is supposed to be inside hello.bc, so why cant lli find it?
> No, it shouldn't be there. On targets, which lacks init sections (for
> example, all win-based, like mingw & cygwin) __main is used to call
> static constructors and relevant stuff.
> 
> The call to __main is assembled early in the main routine before the
> actual code will be executed. I'll try to look into this problem today.
> 
> --
> WBR, Anton Korobeynikov
> 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.516 / Virus Database: 269.20.5/1278 - Release Date:
> 2/14/2008 10:28 AM
> 
> 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.20.9/1291 - Release Date: 2/21/2008
11:05 AM
 





More information about the llvm-dev mailing list