I'm trying to bootstrap Gentoo Prefix after having gotten the toolchain onto my Q10 (and bootstrapping bash and curl). Things like m4 and wget went smoothly, but when I was building python-2.7.3 I encountered problems. make complains about not being able to find qcc:
rm -f libpython2.7.a
ar rc libpython2.7.a Modules/getbuildinfo.o
ar rc libpython2.7.a Parser/acceler.o Parser/grammar1.o Parser/listnode.o Parser/node.o Parser/parser.o Parser/parsetok.o Parser/bitset.o Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o Parser/myreadline.o Parser/tokenizer.o
ar rc libpython2.7.a Objects/abstract.o Objects/boolobject.o Objects/bufferobject.o Objects/bytes_methods.o Objects/bytearrayobject.o Objects/capsule.o Objects/cellobject.o Objects/classobject.o Objects/cobject.o Objects/codeobject.o Objects/complexobject.o Objects/descrobject.o Objects/enumobject.o Objects/exceptions.o Objects/genobject.o Objects/fileobject.o Objects/floatobject.o Objects/frameobject.o Objects/funcobject.o Objects/intobject.o Objects/iterobject.o Objects/listobject.o Objects/longobject.o Objects/dictobject.o Objects/memoryobject.o Objects/methodobject.o Objects/moduleobject.o Objects/object.o Objects/obmalloc.o Objects/rangeobject.o Objects/setobject.o Objects/sliceobject.o Objects/stringobject.o Objects/structseq.o Objects/tupleobject.o Objects/typeobject.o Objects/weakrefobject.o Objects/unicodeobject.o Objects/unicodectype.o
ar rc libpython2.7.a Python/_warnings.o Python/Python-ast.o Python/asdl.o Python/ast.o Python/bltinmodule.o Python/ceval.o Python/compile.o Python/codecs.o Python/errors.o Python/frozen.o Python/frozenmain.o Python/future.o Python/getargs.o Python/getcompiler.o Python/getcopyright.o Python/getplatform.o Python/getversion.o Python/graminit.o Python/import.o Python/importdl.o Python/marshal.o Python/modsupport.o Python/mystrtoul.o Python/mysnprintf.o Python/peephole.o Python/pyarena.o Python/pyctype.o Python/pyfpe.o Python/pymath.o Python/pystate.o Python/pythonrun.o Python/random.o Python/structmember.o Python/symtable.o Python/sysmodule.o Python/traceback.o Python/getopt.o Python/pystrcmp.o Python/pystrtod.o Python/dtoa.o Python/formatter_unicode.o Python/formatter_string.o Python/dynload_shlib.o Python/thread.o
ar rc libpython2.7.a Modules/config.o Modules/getpath.o Modules/main.o Modules/gcmodule.o
ar rc libpython2.7.a Modules/threadmodule.o Modules/signalmodule.o Modules/posixmodule.o Modules/errnomodule.o Modules/pwdmodule.o Modules/_sre.o Modules/_codecsmodule.o Modules/_weakref.o Modules/zipimport.o Modules/symtablemodule.o Modules/xxsubtype.o
ranlib libpython2.7.a
qcc -L/accounts/1000/shared/documents/gentoo/tmp/usr/lib -L/accounts/1000/shared/documents/gentoo/tmp/usr/lib64 -Wl,-E -N 2048K -o python2.7 \
Modules/python.o \
libpython2.7.a -lsocket -lm
make: qcc: Command not found
make: *** [python2.7] Error 127
while qcc is listed as LINKCC=qcc in /accounts/1000/documents/gentoo/tmp/var/tmp/python-2.7.3/Python-2.7.3/Makefile (and perhaps in the subdirectories' Makefiles as well).
After some digging around, I found that qcc is short for QNX CC and exists in the SDK. I have no idea how python's configure knows about this and how to get it to the device (we certainly don't have QNX CC's source code!)
I'm trying to bootstrap
Gentoo Prefixafter having gotten the toolchain onto my Q10 (and bootstrappingbashandcurl). Things likem4andwgetwent smoothly, but when I was buildingpython-2.7.3I encountered problems.makecomplains about not being able to findqcc:while
qccis listed asLINKCC=qccin/accounts/1000/documents/gentoo/tmp/var/tmp/python-2.7.3/Python-2.7.3/Makefile(and perhaps in the subdirectories' Makefiles as well).After some digging around, I found that
qccis short for QNX CC and exists in the SDK. I have no idea how python's configure knows about this and how to get it to the device (we certainly don't have QNX CC's source code!)