From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,f3e8c043b87a5f27 X-Google-Attributes: gidf678f,public From: Craig Neth USG Subject: Re: Help: How to create a shared library for java native methods on DEC Alpha V3.2? Date: 1996/12/02 Message-ID: <32A34FB2.FF6@zk3.dec.com>#1/1 X-Deja-AN: 202084382 references: <01bbd6e9$acaa8140$fa5278cb@wongwai> content-type: text/plain; charset=us-ascii organization: CTG mime-version: 1.0 newsgroups: comp.unix.osf.misc x-mailer: Mozilla 3.01Gold (X11; I; OSF1 V4.0 alpha) Wong Kok Wai wrote: > > Hi, I am trying to create a shared library which will contains native > methods for java 1.0.2. on the DEC Alpha V3.2. My problem is I can't figure > out which command line options to use for the C compiler (not the GNU). To make a .so file on V3.2* releases, you need to use the 'ld' (linker) directly - the cc(1) command does not know how to do it. Read the ld(1) man page on the -shared option. Sorry, I don't have a makefile for any Java stuff to share -- -------------------------------------------------------------------------------- Craig Neth ! neth@zk3.dec.com Digital Equipment Corporation ! 110 Spit Brook Road ZKO3-2/W17 ! Nashua, NH 03062 ! Opinions expressed herein are my own. ================================================================================