On 7/6/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi Mike,
> 
> I read you message about how to compile the all environment; before I
> start digging into the link you sent, I wanted to explain a bit more
> what I'd like to obtain.
> This is the tipical scenario on my laptop:
> 
> here are all the sources of the various libs
> 
> /home/me/dfb/atk
>              glib
>              pango
>              .
>              .
> 
> 
> I'd like to "make install" (maybe using
> DESTDIR=/home/me/debian-installer-image) so that things look like
> this:
> 
> /home/me/d-i_image/usr
>                     |
>                     ---/bin
>                     |
>                     ---/lib
>                     |
>                     .
>                     .
> 
> I'll then copy the content of "/home/me/d-i_image" on a system
> where I run my tests (on the root of the test system)
> To achieve this, with an old version of directfb I had to compile everything
> twice:
> the first time using prefix=/home/me/d-i_temp/ , and a second time using
> prefix=/usr
> 
> Using your suggestions I could achieve this in just one step?
> thanx in advance
> 
> Davide
> 
> __________________________________________________________________
> TISCALI ADSL 1.25 MEGA a soli 19.95 euro/mese
> Solo con Tiscali Adsl navighi senza limiti di tempo
> a meno di 20 euro al mese. E in piu' telefoni senza
> pagare il canone Telecom! Scopri come, clicca qui
> http://abbonati.tiscali.it/adsl/sa/1e25flat_tc/
> 
> 
> 
> 
I think you just need to simply use a new config.site script and you
would have to recompile for the second install I don't know another
way sorry.
If you set the  CONFIG_SITE env var it controls most aspects of installing.
To understand how it works grep for config.site in a generated configure file.
It looks in a number of places.

Here is my config.site based on one off the web note the cache of
config info which speeds compiles but can really bite you if you
change stuff. Remeber to delete the cache if your munging about or
better turn it off.

You can set any number of vars here.. Agian I'm not sure if this is
the perfect way to do stuff I just stumbled on it. BUILD_DIR is what I
actually set for retargeting in my env and I leave CONFIG_SITE alone
but agian thats me.

# config.site for configure
#
# Change some defaults.
test "$prefix" = NONE && prefix=$BUILD_DIR

# Give Autoconf 2.x generated configure scripts a shared default
# cache file for feature test results, architecture-specific.
if test "$cache_file" = /dev/null; then
  cache_file="$prefix/var/config.cache"
  touch $cache_file
  # A cache file is only valid for one C compiler.
  CC=gcc
fi

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to