Re: Announcing the RosAsm Library Project



This is in fact a very good point. For any code base to be useful it
must have a basic set of components that can be used for the simple
hacky stuff and this is of course what static libraries provide among
many other things. Another factor that is missed by people who are not
familiar with the power and flexibility of libraries is that with a
common object module format "COFF" in the instance of Windows code is
fully portable across different assemblers in the form of object
modules.

You can write an object module in GAS and use it in a FASM
application, a POASM module in MASM, a HLA module in GAS and so on
which makes the object module capacity a very powerful and flexible
one.

It is in fact easy enough to have a snippet collection that can be cut
and pasted into a program being developed but in that form its limited
to a single depth call tree where libraries and linkers can calculate
and depth of dependency and get it right without any dulication of
code whatsoever.

For languages that don't have a static library / linker capacity they
need to have a very good equate and conditional assembly capacity and
then provide a matching capacity by the use of conditional includes.

It is not a big deal technically to have to do either, if you have a
reasonable hash table procedure available you just set a non
executable flag (usually an equate) in the text code module if it
needs another text module as a dependency and when all of the initial
calls are processed there will also be a list of dependencies which
can be included as well.

This is not as simple to create at the user end but it is a viable
mechanism for people like Betov who simply don't know how to create an
object module or a linker. It would simply mean that if a RotAsm user
called a procedure from this text based library, she would
automatically get the dependencies that are required and the program
would build without any missing components.

.



Relevant Pages

  • Re: Announcing the RosAsm Library Project
    ... hacky stuff and this is of course what static libraries provide among ... You can write an object module in GAS and use it in a FASM ... needs another text module as a dependency and when all of the initial ...
    (alt.lang.asm)
  • Re: Standalone VB exe
    ... libraries or components and so that it uses nothing other than the ... standard Dependency File and it tells me that my program requires a ... The exe does run fine as a "stand alone exe" on all ... standard VB6 project with just a few bits of code and create a Dependency ...
    (microsoft.public.vb.general.discussion)
  • Re: Missing dependencies on shared libraries
    ... If you explicitly include libc on the command line ... libraries don't have libc recorded in them because we don't add -lc on ... Why isn't ldd showing the dependency? ... La prueba mas fehaciente de que existe vida inteligente en otros ...
    (freebsd-hackers)
  • Re: DLLs that depend on each other
    ... decided to try splitting it into two separate libraries. ... The new lib was set to depend on the ... there were a lot of unresolved references. ... because it creates a circular dependency. ...
    (microsoft.public.vc.mfc)
  • [Announce] Dependable - A dependency solver
    ... This is the announcement of a release of the 'dependable' dependency ... retrieve libraries from mounted directories, ... When a configuration script finds that a required library is not ... compile and install the relevant library. ...
    (alt.os.linux)