From sources-request at octave dot org Mon Jul 19 05:08:15 2004 Subject: Re: How to compile fast? From: David Bateman To: Ganesh Bikshandi Cc: sources at octave dot org Date: Mon, 19 Jul 2004 12:03:47 +0200 If you interact directly with the parser I imagine you'll have to relink liboctinterp.so. If you don't then you can probably rewrite your code as a DLD function (see the code in src/DL-FUNCTIONS for examples) and then use mkoctfile to build it. Cheers David Can you write your function as a DLD rather than as part of According to Ganesh Bikshandi (on 07/18/04): > 1. I am writing a JIT module to octave. Each time I change the code in > my module I have to link the .o file I produce ( I call it jit.o) with > octave. This takes lot of time. Is there a better way? > > 2. I though using shared libaries I can speed up the above process. I > tried to produce shared libraries by specfying -enable-dl and > -enable-shared in the configure script. But I get a huge list of > errors, which terminated with the following message: > > ld: fatal: relocations remain against allocatable but non-writable sections > collect2: ld returned 1 exit status > > I run the gmake in solaris platform. Any help would be appreciated. > > > Ganesh -- David Bateman David dot Bateman at motorola dot com Motorola CRM +33 1 69 35 48 04 (Ph) Parc Les Algorithmes, Commune de St Aubin +33 1 69 35 77 01 (Fax) 91193 Gif-Sur-Yvette FRANCE The information contained in this communication has been classified as: [x] General Business Information [ ] Motorola Internal Use Only [ ] Motorola Confidential Proprietary