Opps, true O:) Applied, thanks :) Next time please attach the patch, also it is not necessary to specify the revision when you do hg diff, by default it is diffed with the tip.
Kind regards, -- nibble On Mon, 31 May 2010 20:58:22 +0200 Jan Lieven <[email protected]> wrote: > On Mon, 31 May 2010 20:46:15 +0200 > Nibble <[email protected]> wrote: > > I see... > r2rc-tool still reffers to rcc, so I made another small patch ;) > > $ hg diff -r 702 r2rc/r2rc-tool > diff -r c2f8ea06290c r2rc/r2rc-tool > --- a/r2rc/r2rc-tool Mon May 31 19:59:31 2010 +0200 > +++ b/r2rc/r2rc-tool Mon May 31 20:57:28 2010 +0200 > @@ -1,14 +1,14 @@ > #!/bin/sh > # pancake / nopcode.org > > -[ -z "${ARCH}" ] && ARCH=`rcc -a` > +[ -z "${ARCH}" ] && ARCH=`r2rc -a` > > compile() { > spp -h 2>&1 >/dev/null > if [ $? = 0 ]; then > - spp -Darch=${ARCH} $@ | rcc -${ARCH} > .a.S || exit $? > + spp -Darch=${ARCH} $@ | r2rc -${ARCH} > .a.S || exit > $? else > - rcc -${ARCH} $@ > .a.S || exit $? > + r2rc -${ARCH} $@ > .a.S || exit $? > fi > } > > @@ -44,7 +44,7 @@ > rm -f .a.S .a.out > ;; > *) > - echo "Usage: rcc-tool [-flag] [file]" > + echo "Usage: r2rc-tool [-flag] [file]" > echo " -b dump bytes" > echo " -x execute" > echo " -c compile against libc" > > > Hi, > > > > rcc stands for "Ralang/Relocatable Code Compiler", but now it is > > called r2rc, precisely because the name "rcc" is used by qt. You are > > just executing the wrong binary :P > > > > Kind regards, > > -- nibble > > > > > > On Mon, 31 May 2010 20:38:07 +0200 > > Jan Lieven <[email protected]> wrote: > > > > > Hi, > > > it's me again. > > > > > > I just realised that - at least with my qt installation - rcc does > > > not take an argument -a. > > > > > > $ rcc -version > > > Qt Resource Compiler version 4.6.2 > > > > > > $ rcc > > > Qt resource compiler > > > Usage: rcc [options] <inputs> > > > > > > Options: > > > -o file write output to file rather than stdout > > > -name name create an external initialization function > > > with name -threshold level threshold to consider compressing > > > files -compress level compress input files by level > > > -root path prefix resource access path with root path > > > -no-compress disable all compression > > > -binary output a binary file for use as a dynamic > > > resource -namespace turn off namespace macros > > > -project Output a resource file containing all > > > files from the current directory > > > -version display version > > > -help display this information > > > > _______________________________________________ > > radare mailing list > > [email protected] > > http://lists.nopcode.org/listinfo.cgi/radare-nopcode.org > _______________________________________________ radare mailing list [email protected] http://lists.nopcode.org/listinfo.cgi/radare-nopcode.org
