Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Joe Mario <mario@zk3.dec.com>
To: 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: <35C9DBD5.4287@zk3.dec.com> (raw)
In-Reply-To: 35C98BC3.3EDC8F83@BULL.NET

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 > ...



  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 [this message]
1998-08-06  4:00   ` Tim Mooney
1998-08-07  4:00     ` Joe Mario
1998-08-06  4:00   ` boucheau
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