./configure Can I to use /some/path/configure - Unix, Linux -
why needed (inside container directory):
# cd /container/directory/ # ./configure
instead of:
# pwd /external/path # /container/directory/configure
maybe because calling ./configure
/container/directory/ created files inside of /container/directory/
is there option create files (makefiles,etc ) inside of /container/directory/ calling /external/path?
something like:
# /container/directory/configure --createoutputfiles=/container/directory/
the autotools explicitly designed work way seeing (with output files in current directory opposed directory of configure script) because designed support out-of-tree builds. idea build can happen somewhere other in source directory.
this lets have per-arch builds in clean fashion, lets blow away built files , not source files, etc.
i don't know if there reliable , portable way automatically determine location of executing script (see bash faq 028 discussion this). if there isn't makes doing want automatically difficult.
i'm not aware, offhand, of flag lets set output directory somewhere else there might one.
Comments
Post a Comment