This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Thinking about ltrace-0.5.3


On 01/01/2010 07:44 PM, Yann E. MORIN wrote:
On Friday 01 January 2010 19:24:34 Joachim Nilsson wrote:
This _could_ mean a fundamental change to
scripts/build/debug/400-ltrace.sh, since --host and --build no longer
apply, or some clever special handling, similar to "if [ version -gt
0.5.3 ]", unless you decide to drop support for all prior ltrace versions?
I do not want to drop older versions, until at least the next major relase
due late January.

OK!


How would you like to proceed? Maybe you have some similar
version-exception handling for other packages that you can recommend me
looking at.
I think something like (in pseudo-code):
config_opts=( "--prefix=..." "whatever" "common" "opts..." )
make_opts=( "whatever" "common" "opts..." )
if [ version< 0.5.3 ]; then
config_opts+=( "--build=..." "--host=..." )
make_opts+=( "whatever" )
else
config_opts+=( "whatever" )
make_opts+=( "whatever" )
fi
.../configure "${config_opts[@]}"
make "${make_opts[@]}"

OK, got it!


The "heavy lifting" of adapting 0.5.3 to cross-building seems to be done
already by the openembedded guys, so it's more of a integration with
crosstool-NG issue.
Very nice! Please, also check that any existing patch for previous versions
are still needed.

Will do.


Waiting for your submission, then! (if you could submit Mercurial patches,
that would make my life easier to apply those patches).

OK, I'll look into it. I see you've documented the process well in docs/overview.txt, so I'll go with that.


Regards
 /Joachim

P.S. Thanks for the bash completion stuff, I was really missing that from regular Makefiles. :-)


-- For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]