Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* Help: How to create a shared library for java native methods on DEC Alpha V3.2?
@ 1996-11-20  5:00 Wong Kok Wai
  1996-12-02  5:00 ` Craig Neth USG
  0 siblings, 1 reply; 2+ messages in thread
From: Wong Kok Wai @ 1996-11-20  5:00 UTC (permalink / raw)



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). I
have tried the option -call_shared but unsuccessful. In addition, do I need
to link to any java lib? I am using the port from osf.org. Anybody can
help? I would appreciate it if a makefile is posted also. Thank you.




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Help: How to create a shared library for java native methods on DEC Alpha V3.2?
  1996-11-20  5:00 Help: How to create a shared library for java native methods on DEC Alpha V3.2? Wong Kok Wai
@ 1996-12-02  5:00 ` Craig Neth USG
  0 siblings, 0 replies; 2+ messages in thread
From: Craig Neth USG @ 1996-12-02  5:00 UTC (permalink / raw)



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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-12-02  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-11-20  5:00 Help: How to create a shared library for java native methods on DEC Alpha V3.2? Wong Kok Wai
1996-12-02  5:00 ` Craig Neth USG

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