The MASM Forum

Projects => Rarely Used Projects => GoAsm => Topic started by: gammac on June 11, 2014, 06:07:31 PM

Title: nasm, GoLink and static libraries?!
Post by: gammac on June 11, 2014, 06:07:31 PM
Hello,

I try to use nasm with GoLink but I can't find a way to link against static libraries. How does GoLink support static .lib files? Thanks for your answers!

best regards
Title: Re: nasm, GoLink and static libraries?!
Post by: wjr on June 12, 2014, 02:00:01 AM
Static libraries are dealt with differently. The GoAsm manual has a section "Merging: using static code libraries" which explains this. So it is actually GoAsm that supports the static .lib files and not GoLink.
Title: Re: nasm, GoLink and static libraries?!
Post by: gammac on June 12, 2014, 02:09:26 AM
you mean, there is no way to use static libraries and GoLink with other assemblers except GoAsm?
Title: Re: nasm, GoLink and static libraries?!
Post by: wjr on June 12, 2014, 02:37:26 AM
Correct. Well, at least no direct way. Indirectly, I suppose you could use something like LIB.EXE to extract any needed OBJ files and link those as usual.