tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] Is static linking functional?


From: lifenjoiner
Subject: Re: [Tinycc-devel] Is static linking functional?
Date: Sun, 22 Jun 2014 16:02:41 +0800

Hi,

> Wendell P
> To: address@hidden
> 
> I have tried a few methods to produce an MSVCRT in ELF format suitable
> for static linking with TCC on Windows, but so far no success. If you

Why would you do this? Don't forget that different version "msvcrt" depends on 
its own dll chain. So even if you have made it, your app could not work on 
other machines.

More details of the linked file should be known for this subject.

An object file, I think, is containing compiled codes tagged by its original 
name.
You can view it in hex mod. So when linking, needed part can be extracted and 
rearranged.

In a linked executable file, the code could not be recognized and reused by its 
original name. So linking is an irreversible work.

Hop this will help, and any correction will be welcomed.

> have actually done it yourself, how did you do it?
> 





reply via email to

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