Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: boucheau <VINCENT.BOUCHEAU@BULL.NET>
Subject: Re: How to build a shared library on DEC alpha 3.2
Date: 1998/08/06	[thread overview]
Message-ID: <35C9E3A4.5176E928@BULL.NET> (raw)
In-Reply-To: 35C9DBD5.4287@zk3.dec.com

[-- Attachment #1: Type: text/plain, Size: 928 bytes --]

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



[-- Attachment #2: Type: text/html, Size: 1076 bytes --]

  reply	other threads:[~1998-08-06  4:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-06  4:00 How to build a shared library on DEC alpha 3.2 boucheau
1998-08-06  4:00 ` Joe Mario
1998-08-06  4:00   ` boucheau [this message]
1998-08-06  4:00   ` Tim Mooney
1998-08-07  4:00     ` Joe Mario
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox