flat assembler
Message board for the users of flat assembler.

Index > Windows > link the MS COFF example

Goto page Previous  1, 2
Author
Thread Post new topic Reply to topic
flaith



Joined: 07 Feb 2005
Posts: 122
Location: $300:20 58 FC 60 N 300G => Vietnam
flaith 17 May 2006, 21:40
obj+lib = exe
that means when you call a procedure which is inside your lib, the linker will copy that procedure and make the exe !
sorry if i'm not clear enough Wink

_________________
Je suis sur de 'rien', mais je ne suis pas sur du 'tout'.
Post 17 May 2006, 21:40
View user's profile Send private message Visit poster's website Reply with quote
zolkefli



Joined: 05 Mar 2005
Posts: 12
zolkefli 19 May 2006, 09:37
Quote:

when you call a procedure which is inside your lib, the linker will copy that procedure


The linker copy the whole procedure code or just make a calling code to it?
Post 19 May 2006, 09:37
View user's profile Send private message Reply with quote
Quantum



Joined: 24 Jun 2005
Posts: 122
Quantum 19 May 2006, 23:36
It copies the entire object file from the lib. If you have a huge object file (something.obj) or a static lib with a huge object file inside, the resulting executable (myprogram.exe) will also be huge.
Post 19 May 2006, 23:36
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.