flat assembler
Message board for the users of flat assembler.

Index > High Level Languages > fasm static link with lib files?

Author
Thread Post new topic Reply to topic
sleepsleep



Joined: 05 Oct 2006
Posts: 12738
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 0010456
sleepsleep 18 Jun 2010, 05:02
hi,
is that possible to assemble fasm source code link with .lib library files?
Post 18 Jun 2010, 05:02
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 18 Jun 2010, 09:11
Yep, you have to assemble to MS COFF .obj file, and then use linker to link with .lib and produce final executable.

BTW, in case you don't know, .lib file is just a "package" of multiple .obj files.
Post 18 Jun 2010, 09:11
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 12738
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 0010456
sleepsleep 18 Jun 2010, 13:42
Quote:

.lib file is just a "package" of multiple .obj files.

thanks for this info Smile

Quote:

use linker to link with .lib and produce final executable.

what linker (open source) that fasm preffer or usually use.
Post 18 Jun 2010, 13:42
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 18 Jun 2010, 14:34
Quote:
what linker (open source) that fasm preffer or usually use.

Dunno, I always use MS link, which (obviously) is not open source, although it is free. I remember there is GoLink, but IIRC it had some "unstandard" customizations.
Post 18 Jun 2010, 14:34
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
baldr



Joined: 19 Mar 2008
Posts: 1651
baldr 19 Jun 2010, 01:22
vid,

GoLink can be a blessing when import library is absent.
Post 19 Jun 2010, 01:22
View user's profile Send private message Reply with quote
Kain



Joined: 26 Oct 2003
Posts: 108
Kain 23 Jun 2010, 03:47
there is also polink (pelles c) which is compatible with ms link.
Post 23 Jun 2010, 03:47
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< 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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.