[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: both native & bytecode



On Wed, Oct 27, 2004 at 04:03:06PM +0300, George Danchev wrote:
> On Wednesday 27 October 2004 15:53, Berke Durak wrote:
> > On Wed, Oct 27, 2004 at 03:47:15PM +0300, George Danchev wrote:
> > > > Err, make builds bytecode versions ; make opt builds native versions
> > > > named .opt.  Have you checked this ?
> > >
> > > Ah, sorry ;-)
> > > I've corrected this in the same version 1.0.1, just re-download (ok, it
> > > is bad doing so ;-).
> > >
> > > Now we have both bytecode and native versions:
> > >
> > > $dpkg --contents ara_1.0.1_i386.deb | awk '{print $6}'
> > > ./
> > > ./usr/
> > > ./usr/bin/
> > > ./usr/bin/ara
> > > ./usr/bin/ara.opt
> > > ./usr/share/
> > > ./usr/share/doc/
> > > ./usr/share/doc/ara/
> > > ./usr/share/doc/ara/README.Debian
> > > ./usr/share/doc/ara/copyright
> > > ./usr/share/doc/ara/changelog.gz
> > > ./usr/share/man/
> > > ./usr/share/man/man1/
> > > ./usr/share/man/man1/ara.1.gz
> >
> > Isn't there a way to have ara -> ara.opt and xara -> xara.opt on platforms
> > where native compilation is available ?  It's much faster you know.
> 
> I'd suggest:
> make builds the native code - ara & xara
> make bt builds the bytecode  - ara.bt & xara.bt

Sounds reasonable, just keep in mind that some arches do not have a native
code compiler, and that the package should fall back on building bytecode in
this case.

Friendly,

Sven Luther



Reply to: