Hi,
I don't know of anyone using pyinstaller with arm architecture. So
consider ARM as not officially supported by pyinstaller.
There are precompiled bootloaders for i386/x86_64 architectures in
support/loader directory. That would explain why your binary is Intel
386.
You might try to recompile the bootloader with C compiler for arm
(highly experimental stuff). Probably you would need to patch the C code
of the bootloader.
Hi jkn,
please base your work on the current development branch. This would help
integrating your work later.
--
Schönen Gruß - Regards
Hartmut Goebel
Dipl.-Informatiker (univ.), CISSP, CSSLP
Goebel Consult
Spezialist für IT-Sicherheit in komplexen Umgebungen
http://www.goebel-consult.de
Monatliche Kolumne: http://www.cissp-gefluester.de/
Goebel Consult ist Mitglied bei http://www.7-it.de
This is just part of C compiler detection. Not the most important.
>
> Presumably this causes gcc to be used for compilation, with certain
> flags set, and maybe other things.
>
> In my case, I want to run my cross-compiler (under scratchbox2, so eg.
> '"sb2 gcc ..." instead of just "gcc ...").
>
> So what kinds of things would I have so do so that in set_options(opt)
> above I can say something like
>
> # opt.tool_options('compiler_cc')
> opt.tool_options('xcompiler_cc') # xcompiler_cc is something I
> prepared elsewhere for my cross-compiler
Download the waf source code and look for files in folders
waf_src/waflib/Tools
waf_src/waflib/extras
In wscript look for lines like:
80 conf.check_tool('gcc')
138 conf.env.CC = conf.env.LSBCC
139 conf.env.LINK_CC = conf.env.LSBCC
NOTE: we use waf 1.5. Waf 1.6 has slightly different syntax.