rebase -O -T list
That's works effectively but why it does not work without the -O option?
Hold on, the story is not closed
when doing the following steps at the console, it works
find . -name "*.dll" > dlls
rebase -O -T dlls
PATH=/cygdrive/z/git/poco-1.6.2/stage/tools/PocoDoc/bin/CYGWIN/i686:/cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686:/cygdrive/z/git/poco-1.6.2/stage/tools/PocoDoc/bin/CYGWIN/i686:/cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686:/cygdrive/z/git/poco-1.6.2/release/script:/usr/local/bin:/usr/bin:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/Python33:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program
Files/Microsoft SQL Server/110/Tools/Binn:/cygdrive/c/Program Files
(x86)/Subversion/bin:/cygdrive/c/Program Files (x86)/Dr.
Memory/bin:/cygdrive/c/Program Files
(x86)/Skype/Phone:/cygdrive/c/Windows/system32/config/systemprofile/.dnx/bin:/cygdrive/c/Program
Files/Microsoft DNX/Dnvm:/cygdrive/c/Program Files (x86)/Windows
Kits/10/Windows Performance Toolkit:/cygdrive/c/Program Files
(x86)/Git/bin:/cygdrive/z/git/win-flex-bison/bin/Release:/cygdrive/c/ASF/apache-maven-3.2.1/bin:/cygdrive/c/Program
Files/Java/jdk1.7.0_51/bin:/cygdrive/c/ASF/apache-ant-1.9.3/bin
PocoDoc --config=/cygdrive/z/git/poco-1.6.2/PocoDoc/cfg/mkdoc-poco.xml
--config=/cygdrive/z/git/poco-1.6.2/stage/docbuild/PocoDoc.ini
but when running the equivalent steps in a bash script, it does not work
as show below -- script mkdoc joined --
Worth to mention that the binary PocoDoc is spawing a process for
compiling a cpp source with g++
[FrancisANDRE@idefix poco-1.6.2 ]$mkdoc all
Building tools
Configured for CYGWIN
rebased
/cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoCppParser.32.dll
rebased
/cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoCppParser.dll
rebased
/cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoCppParserd.32.dll
rebased
/cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoCppParserd.dll
rebased
/cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoFoundation.32.dll
rebased
/cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoFoundation.dll
rebased
/cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoFoundationd.32.dll
rebased
/cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoFoundationd.dll
rebased
/cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoJSON.32.dll
rebased
/cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoJSON.dll
rebased
/cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoJSONd.32.dll
rebased
/cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoJSONd.dll
rebased
/cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoNet.32.dll
rebased
/cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoNet.dll
rebased
/cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoNetd.32.dll
rebased
/cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoNetd.dll
rebased
/cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoUtil.32.dll
rebased
/cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoUtil.dll
rebased
/cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoUtild.32.dll
rebased
/cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoUtild.dll
rebased
/cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoXML.32.dll
rebased
/cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoXML.dll
rebased
/cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoXMLd.32.dll
rebased
/cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoXMLd.dll
PATH=/cygdrive/z/git/poco-1.6.2/stage/tools/PocoDoc/bin/CYGWIN/i686:/cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686:/cygdrive/z/git/poco-1.6.2/stage/tools/PocoDoc/bin/CYGWIN/i686:/cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686:/cygdrive/z/git/poco-1.6.2/release/script:/usr/local/bin:/usr/bin:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/Python33:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program
Files/Microsoft SQL Server/110/Tools/Binn:/cygdrive/c/Program Files
(x86)/Subversion/bin:/cygdrive/c/Program Files (x86)/Dr.
Memory/bin:/cygdrive/c/Program Files
(x86)/Skype/Phone:/cygdrive/c/Windows/system32/config/systemprofile/.dnx/bin:/cygdrive/c/Program
Files/Microsoft DNX/Dnvm:/cygdrive/c/Program Files (x86)/Windows
Kits/10/Windows Performance Toolkit:/cygdrive/c/Program Files
(x86)/Git/bin:/cygdrive/z/git/win-flex-bison/bin/Release:/cygdrive/c/ASF/apache-maven-3.2.1/bin:/cygdrive/c/Program
Files/Java/jdk1.7.0_51/bin:/cygdrive/c/ASF/apache-ant-1.9.3/bin
Building documentation 1.6.2-all (using
/cygdrive/z/git/poco-1.6.2/PocoDoc/cfg/mkdoc-poco.xml)
Cleaning build directory: /cygdrive/z/git/poco-1.6.2/stage/docbuild
Copying sources
Generating documentation
PocoDoc --config=/cygdrive/z/git/poco-1.6.2/PocoDoc/cfg/mkdoc-poco.xml
--config=/cygdrive/z/git/poco-1.6.2/stage/docbuild/PocoDoc.ini
0 [main] PocoDoc 9592 child_info_fork::abort:
Z:\git\poco-1.6.2\stage\tools\lib\CYGWIN\i686\cygPocoFoundation.32.dll:
Loaded to different address: parent(0x660000) != child(0x7B0000)
Application: [Error] System exception: Cannot fork process for: g++
0 [main] PocoDoc 7792 child_info_fork::abort:
Z:\git\poco-1.6.2\stage\tools\lib\CYGWIN\i686\cygPocoFoundation.32.dll:
Loaded to different address: parent(0x660000) != child(0x600000)
Application: [Error] System exception: Cannot fork process for: g++
0 [main] PocoDoc 8664 child_info_fork::abort:
Z:\git\poco-1.6.2\stage\tools\lib\CYGWIN\i686\cygPocoFoundation.32.dll:
Loaded to different address: parent(0x660000) != child(0x8D0000)
Application: [Error] System exception: Cannot fork process for: g++
0 [main] PocoDoc 11736 child_info_fork::abort:
Z:\git\poco-1.6.2\stage\tools\lib\CYGWIN\i686\cygPocoFoundation.32.dll:
Loaded to different address: parent(0x660000) != child(0x9B0000)
Application: [Error] System exception: Cannot fork process for: g++
0 [main] PocoDoc 7304 child_info_fork::abort:
Z:\git\poco-1.6.2\stage\tools\lib\CYGWIN\i686\cygPocoFoundation.32.dll:
Loaded to different address: parent(0x660000) != child(0x5E0000)
FA
Ken
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
#! /bin/sh
#
# $Id: //poco/1.4/release/script/mkdoc#2 $
#
# mkdoc
#
# Create reference documentation for a POCO release.
# This is a wrapper for mkdocumentation that syncs to the
# Perforce head revision, reads the current
# version from $POCO_BASE/VERSION and requires a release
# specification (loaded from $POCO_BASE/release/spec/*.release)
# as argument.
#
# usage: mkdoc [-l <perforce-label>] [<specfile>]
#
osname=`uname -s | tr ' ' '_'`
osarch=`uname -m | tr ' ' '_'`
if [ ${osname:0:6} = "CYGWIN" ] ; then
osname="CYGWIN"
fi
if [ "$POCO_BASE" = "" ] ; then
echo "Error: POCO_BASE not set."
exit 1
fi
spec=""
docConfig=$POCO_BASE/PocoDoc/cfg/mkdoc-poco.xml
while [ "$1" != "" ] ;
do
if [ "$1" = "-C" ] ; then
shift
docConfig=$1
shift
elif [ "$1" = "-v" ] ; then
shift
version=$1
shift
else
spec=$1
shift
fi
done
if [ "$spec" != "" ] ; then
relspec="-f release/spec/${spec}.release"
tag="-$spec"
reltag="-t $spec"
else
relspec=""
reltag=""
tag=""
fi
cd $POCO_BASE
if [ ! -f VERSION ] ; then
echo "Error: No VERSION file found."
exit 2
fi
if [ "$version" = "" ] ; then
read version <$POCO_BASE/VERSION
fi
release=$version$tag
#
# Build release
#
echo "Building tools"
tools=$POCO_BASE/stage/tools
rm -rf $tools
mkdir -p $tools
mkrelease -o $tools $version CppParser PocoDoc
cd $tools
./configure --no-tests --no-samples
make -s -j8
cd $POCO_BASE
if [ $osname = "Darwin" ] ; then
archpath=`dirname stage/tools/PocoDoc/bin/Darwin/*/PocoDoc`
osarch=`basename $archpath`
fi
if [ $osname = "CYGWIN" ] ; then
for dll in `find $tools -name "*.dll"` ;
do
rebase -O $dll ;
echo "rebased $dll" ;
done
export PATH=$tools/lib/$osname/$osarch:$PATH
fi
export PATH=$tools/PocoDoc/bin/$osname/$osarch:$PATH
echo PATH=$PATH
echo "Building documentation $release (using $docConfig)"
mkdocumentation $reltag $relspec -C $docConfig -v $version
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple