ts-7000
[Top] [All Lists]

Re: [ts-7000] Java Step-by-Step

To:
Subject: Re: [ts-7000] Java Step-by-Step
From: "Taj Morton" <>
Date: Tue, 10 Apr 2007 12:10:54 -0700
On 4/10/07, Christopher Friedt <> wrote:
> Does anyone know how to change all of the static paths that are placed
> into libraries & exutable files during compile?
>
> For instance, i would like the --prefix stored in a library or
> executable to be /usr/local, but when I'm cross-compiling the package, i
> do not actually want it installed to /usr/local but
> $PWD/../package-install/usr/local, so that I can easily create a tarball
> of the installation files.
You can usually use make install DESTDIR=/path/to/package-install

That will dump all the stuff into /path/to/package-install/usr/local,
which you can then tar up.
For the binaries to actually work, though, you probably need to
install them into /usr/local.

Alternatively,  if I miss understood your question, and you were
wondering about how to compile so you can install and run into any
prefix, check out binreloc from the Autopackage project:
http://trac.autopackage.org/browser/binreloc/trunk/fdbr.c

Cheers,
- Taj


-- 
Taj
http://www.wildgardenseed.com/Taj/blog

Need a GMail invite? Email me.
Peace cannot be kept by force; it
can only be achieved by understanding.
                -- A. Einstein


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU