Dynamic Libraries

Marek Prochazka Marek.Prochazka at scisys.co.uk
Tue Sep 12 08:28:23 UTC 2006


Hi,

thanks, this helped me to link it! BTW my version of the README file,
which comes from Cexp 1.5 sources downloaded from the Cexp home page,
does not mention the trick with "> link_helper" in points 2) and 4).

Regards,
Marek

> Allan is correct. RTMF (see step 4), please [from the README]:
> 
>  >  1) compile and link all sources, libraries etc.; build an 
> executable
>  >  2) xsyms -C executable  mysymtab.c > link_helper
>  >  3) compile mysymtab.c (set -I to Cexp source directory, since
>  >     cexpsyms.h is included)
>  >  4) link application again, but this time add 'mysymtab.c' to the
>  >     list of sources and 'link_helper' to the list of files to
>  >     be linked.
>  >  NOTE: Step 1) linking succeeds without a symtab.o because there's
>  >        a weak NULL-ptr alias for the builtin symtab.
> 
> HTH
> -- Till
> 




More information about the users mailing list