[ 
https://issues.apache.org/jira/browse/THRIFT-874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12904332#action_12904332
 ] 

Roger Meier commented on THRIFT-874:
------------------------------------

{code}
$ echo 'int main() { return 0; }' > conftest.c
$ i586-mingw32msvc-gcc -o conftest.exe  -DMINGW  conftest.c
$ ./conftest.exe
$ file conftest.exe 
conftest.exe: PE32 executable for MS Windows (console) Intel 80386 32-bit
$ wine conftest.exe
{code}
just quiet...

{code}
$ cat /proc/sys/fs/binfmt_misc/
cli        jar        python2.4  python2.5  register   status     wine
$ cat /proc/sys/fs/binfmt_misc/wine 
enabled
interpreter /usr/share/binfmt-support/run-detectors
flags: 
offset 0
magic 4d5a
{code}
that's all

> 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, 
> v6-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