Changes between Version 28 and Version 29 of libwdi/faq


Ignore:
Timestamp:
09/17/10 16:07:56 (3 years ago)
Author:
pbatard
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • libwdi/faq

    v28 v29  
    1313 
    1414'''The embedder fails to run during cross-compilation''' 
    15   By default, the configure script expects your default build platform's compiler to be able to produce executables that run on said platform. This is necessary so that the build process can compile and run the custom embedder tool to add the driver files to the library. If however your default compiler can not produce executables that run on your build platform, this process will fail. This can occur for instance, if you are using a multilib MinGW-w64 on a Windows 32 platform, if the default for gcc is to produce 64 bit executables. If this is the case, you must define a {{{CC_FOR_BUILD}}} environment variable, with the relevant options to produce executables that work on your platform. For instance, in the scenario above, you would issue the following, to ensure that the embedder executable can run on 32 bit, before running configure:[[BR]]{{{  export CC_FOR_BUILD="x86_64-w64-mingw32-gcc -m32}}} 
     15  By default, the configure script expects your default build platform's compiler to be able to produce executables that run on that platform. This is necessary so that the build process can compile and run the custom embedder, to add the driver files to the library. If however your default compiler does not produce executables that run on your build platform, the process will fail. This can occur for instance, if you are using a multilib MinGW-w64 on a Windows 32 platform, but the default for gcc is to produce 64 bit executables. If this is the case, you should define a {{{CC_FOR_BUILD}}} environment variable with the relevant options. For instance, in the scenario above, you would issue the following, to ensure that MinGW-w64 produces a 32 bit embedder executable that can be run during the build process:[[BR]]{{{  export CC_FOR_BUILD="x86_64-w64-mingw32-gcc -m32}}} 
    1616 
    1717'''How can I create a 32+64 bit compatible version of libwdi?'''