[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6.3 stubgen

 
stubgen [ -b base | --base base ] deffile.def

The stubgen utility generates assembly language stub files for a GLib or an assembly language dispatch table for a SysLib (see section 3.3 Shared libraries). You can write these stub files yourself, but, particularly for a GLib, it is easier to have stubgen generate them for you from the relevant clause in your library's definition file (see section 4. Definition files).

stubgen reads from deffile and by default writes its output to `deffile-stubs.c' and `deffile-jumps.s', or to `deffile-dispatch.s', depending on the project-kind specified in deffile.

-b base
--base base
Write the GLib output to `base-stubs.c' and `base-jumps.s', or the SysLib output to `base-dispatch.s'.

(This is inconsistent with the way multigen handles the `-b' option. One or the other is likely to change.)



This document was generated by Antti-Juhani Kaijanaho on May, 2 2005 using texi2html