News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Making a lib file?

Started by Farabi, August 22, 2007, 09:33:58 AM

Previous topic - Next topic

Farabi

How to made our function put on a lib file?
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

P1

In the standard distribution of MASM32, is a directory of m32lib, which contains all the source ( and batch files ) for creating the MASM32 library of standard function routines.

Enjoy  :U

Regards,  P1   :8)

Farabi

So if I made my own function and I want to made it as a lib file what I need to do is modifying the masm32 standard function lib and spread it to my friend? Am I right?
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

Vortex

Hi Farabi,

Creating a static library is easy. First, choose your source files to be assembled and then use MS' librarian lib.exe to build your static library from the object files :

\masm32\bin\ml /c /coff *.asm
\masm32\bin\lib /OUT:testlib.lib *.obj

[attachment deleted by admin]

hutch--

Farabi,

The masm32 project is geared for making library modules. Just check the menus to run a bare template to get a basic library module. Write your procedure in the module, make sure it works properly then convert it to a library using the command line that rol has shown you. The MASM32 library is an EXAMPLE of how to make a library in MASM.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php