Hi all
   (this is more of a WAF question than a PyInstaller one)

I've done a little bit of experimenting with crosscompiling the
bootloader parts of PyInstaller for the arm. I'm doing this manually,
ie. just from the command-line rather than with waf and wscript.

I'm reading up on WAF and ideally I'd like to extend wscript for my
usage. One thing I think I need to know is: what does selecting a
given compiler actually do? for instance, wscript has:

def set_options(opt):
    # ....
    opt.tool_options('compiler_cc')


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

?

    Thanks for any pointers
    J^n

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyinstaller?hl=en.

Reply via email to