[ 
https://issues.apache.org/jira/browse/THRIFT-874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Roger Meier updated THRIFT-874:
-------------------------------

    Attachment: mingw-cross-compile.sh

Thanks David!
your thrift-e0db3ee-r2.exe version seems to be broken, just a 14KB file...

I've attached my current version of *mingw-cross-compile.sh*. => everything is 
working fine on Windows XP.

It should be sufficient to set the host type to _i586-mingw32msvc_
build host, CC and CXX is auto detected if cross compiler is installed 
correctly.

strip is usually done on _make install_ , in that case we probably have to do 
it from mingw-cross-compile.sh script



> Script and document Windows build process
> -----------------------------------------
>
>                 Key: THRIFT-874
>                 URL: https://issues.apache.org/jira/browse/THRIFT-874
>             Project: Thrift
>          Issue Type: Task
>         Environment: Target: MinGW + MSYS on Windows XP
>            Reporter: Michael Lum
>            Assignee: Michael Lum
>            Priority: Minor
>         Attachments: mingw-cross-compile.sh, 
> v4-0015-THRIFT-874.-Include-missing-time.h-in-two-compiler-f.patch, 
> v4-0016-THRIFT-874.-Disable-AX_SIGNED_RIGHT_SHIFT-for-cross-.patch, 
> v4-0017-THRIFT-874.-Add-script-to-cross-compile-the-Thrift-c.patch, 
> v5-0001-THRIFT-874.-Add-script-to-cross-compile-the-Thrift-c.patch
>
>
> 1. Document how to build the Thrift code from source on a stock MinGW+MSYS 
> install on Windows
> 2. Investigate scripting the build as a contrib/ item.
> 3. If #2 is successful, provide a way to generate a .MSI that installs the 
> thrift compiler and runtime libraries.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to