Joe Mario wrote:
Prior to V4.0, you cannot use the cc driver to build shared libraries.
You must call ld directly.  For example:

        ld -shared -no_archive -o my_lib.so a.o b.o c.o -lc

As of V4.0, it's preferrable to use the cc driver to build shared libs.

Joe Mario

boucheau wrote:
>
> Hi,
> I try to build a shared library on DEC alpha V3.2 using the following
> commands:
>
> /bin/cc -c -g GccOptimizedFlags -fpic -Dlint -DPOSIX_SOURCE  -DOSF
> -Dalpha -DSYSV -DRE_DECLARE_SIGNALS -Dbsd -taso -migrate -assume
> noaligned_object -I. -I/vb/source -I/vb/source/include -I/DEC/include
> -I/usr/local/include
> -I/usr/include/X11 -IIsm_Extra_Osi_Inc_Dir /vb/source/vb_version.c
> touch .vb_version~
> /bin/cc -shared -Dbsd -taso -migrate -assume noaligned_object -threads > ...

 Thank you very much. It works fine and I am very happy.
Best regards.
Vincent.Boucheau@Bull.net