Re: building shared libraries for native

1998-05-26 Thread Duncan Roe
Hi Craig, "info gcc" describes this better. It states that FPIC only makes a difference on the m68k, m88k and the Sparc. N.b. use info! It is kept up to date, while the man page (sometimes) isn't. There was some discussion of how shared libraries work without pic, but I remain bemused that they

Re: building shared libraries for native

1998-05-22 Thread Duncan Roe
Hi Craig, No, you don't need to compile with -O to build a shared object. But you *do* need to compile with -fpic to get position-independent code. Then use -shared when loading the object, as you already do. I have successfully built a number of shared objects using no other special options (fo

Re: bug - system clipboard does not work

1998-05-15 Thread Duncan Roe
Hi Robert, On Fri, May 15, 1998 at 07:25:26PM +1000, Duncan Roe wrote: > > Not for me! I don't see data from the system clipboard, even after making the > above change. And with the 2 lines I changed earlier, it still copies and pastes > data that is highlighted in the

Re: bug - system clipboard does not work

1998-05-15 Thread Duncan Roe
Hi Robert, On Thu, May 14, 1998 at 09:53:24PM -0700, Robert Lynch wrote: > > > Say I highlight a couple of words in your e-mail and then use the paste > button in Steve's java application (with your mods), then I get: > - > Exception occurred during event dispatching: > java.lang.NullPointe

Re: bug - system clipboard does not work

1998-05-14 Thread Duncan Roe
The application now works for me after changing 2 lines. At least, after Copy of slected text in pane 1 and "Paste", both panes display the text and nothing else - was that the intention? Using jdb, I found that the mime-type of the message was "text/plain; charset=unicode", which Transfer's getT

Re: jdk1.1.5: Using jdb under Linux

1998-05-14 Thread Duncan Roe
Hi Larry, jdb works quite well for me. I find its behaviour a little quirky at times, but basically it seems to work. I have jdk1.1.5v7 and libc 5.4.44. Some examples follow. Actually you can see from the exampes, it really *is* a bit temperamental. If anyone can spot what I'm doing wrong, plea