kea_
19th March 2011, 22:54
Hello together,
I like to build a static Qt.
My system is Windows 7 64 Bit and the mingw32-make (3.8.1).
I configure the Qt 4.7.2 and try to compile it but I get this error.
C:\MyPrograms\Programming\Qt\4.7.2-static>mingw32-make sub-src
cd src/tools/bootstrap/ && mingw32-make
mingw32-make[1]: Entering directory `c:/MyPrograms/Programming/Qt/4.7.2-static/src/tools/bootstrap'
c:/MyPrograms/Programming/mingw/bin/mingw32-make -f Makefile.Release
mingw32-make[2]: Entering directory `c:/MyPrograms/Programming/Qt/4.7.2-static/src/tools/bootstrap'
ar -M < object_script.libbootstrap.Release
/bin/sh: /c/MyPrograms/Programming/mingw/bin/ar: Invalid argument
mingw32-make[2]: *** [release/libbootstrap.a] Error 126
mingw32-make[2]: Leaving directory `c:/MyPrograms/Programming/Qt/4.7.2-static/src/tools/bootstrap'
mingw32-make[1]: *** [release] Error 2
mingw32-make[1]: Leaving directory `c:/MyPrograms/Programming/Qt/4.7.2-static/src/tools/bootstrap'
mingw32-make: *** [sub-tools-bootstrap-sub_src_target_ordered] Error 2
I think the problem is the missing of the double points in the path. ar -M < object_script.libbootstrap.Release
/bin/sh: /c/MyPrograms/Programming/mingw/bin/ar: Invalid argument
Is my opinion correct? And how can I solve my problem.
Thank you for your help
kea_
I like to build a static Qt.
My system is Windows 7 64 Bit and the mingw32-make (3.8.1).
I configure the Qt 4.7.2 and try to compile it but I get this error.
C:\MyPrograms\Programming\Qt\4.7.2-static>mingw32-make sub-src
cd src/tools/bootstrap/ && mingw32-make
mingw32-make[1]: Entering directory `c:/MyPrograms/Programming/Qt/4.7.2-static/src/tools/bootstrap'
c:/MyPrograms/Programming/mingw/bin/mingw32-make -f Makefile.Release
mingw32-make[2]: Entering directory `c:/MyPrograms/Programming/Qt/4.7.2-static/src/tools/bootstrap'
ar -M < object_script.libbootstrap.Release
/bin/sh: /c/MyPrograms/Programming/mingw/bin/ar: Invalid argument
mingw32-make[2]: *** [release/libbootstrap.a] Error 126
mingw32-make[2]: Leaving directory `c:/MyPrograms/Programming/Qt/4.7.2-static/src/tools/bootstrap'
mingw32-make[1]: *** [release] Error 2
mingw32-make[1]: Leaving directory `c:/MyPrograms/Programming/Qt/4.7.2-static/src/tools/bootstrap'
mingw32-make: *** [sub-tools-bootstrap-sub_src_target_ordered] Error 2
I think the problem is the missing of the double points in the path. ar -M < object_script.libbootstrap.Release
/bin/sh: /c/MyPrograms/Programming/mingw/bin/ar: Invalid argument
Is my opinion correct? And how can I solve my problem.
Thank you for your help
kea_