David Reiss | 37b3df2 | 2010-08-31 16:51:32 +0000 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | set -e |
| 3 | |
| 4 | ./configure \ |
| 5 | --without-cpp \ |
Roger Meier | 23c16b7 | 2012-05-01 12:12:17 +0000 | [diff] [blame] | 6 | --without-c_glib \ |
David Reiss | 37b3df2 | 2010-08-31 16:51:32 +0000 | [diff] [blame] | 7 | --without-java \ |
| 8 | --without-csharp \ |
| 9 | --without-python \ |
| 10 | --without-ruby \ |
Roger Meier | ba47e8e | 2011-03-29 19:59:44 +0000 | [diff] [blame] | 11 | --without-haskell \ |
David Reiss | 37b3df2 | 2010-08-31 16:51:32 +0000 | [diff] [blame] | 12 | --without-perl \ |
| 13 | --without-php \ |
| 14 | --without-erlang \ |
jfarrell | 985a910 | 2013-08-17 15:44:19 -0400 | [diff] [blame] | 15 | --without-go \ |
| 16 | --without-d \ |
David Reiss | 37b3df2 | 2010-08-31 16:51:32 +0000 | [diff] [blame] | 17 | --build=i686-pc-linux-gnu \ |
Ben Craig | e957675 | 2013-10-11 08:19:16 -0500 | [diff] [blame^] | 18 | --host=i586-mingw32msvc |
David Reiss | 37b3df2 | 2010-08-31 16:51:32 +0000 | [diff] [blame] | 19 | |
| 20 | make |
| 21 | |
| 22 | # Check two locations to be compatible with libtool 1.5.26 or 2.2.6b. |
jfarrell | 985a910 | 2013-08-17 15:44:19 -0400 | [diff] [blame] | 23 | if test -f compiler/cpp/.libs/thrift.exe ; then |
| 24 | i586-mingw32msvc-strip compiler/cpp/.libs/thrift.exe -o ./thrift.exe |
| 25 | else |
| 26 | i586-mingw32msvc-strip compiler/cpp/thrift.exe -o ./thrift.exe |
David Reiss | 37b3df2 | 2010-08-31 16:51:32 +0000 | [diff] [blame] | 27 | fi |
jfarrell | 985a910 | 2013-08-17 15:44:19 -0400 | [diff] [blame] | 28 | echo "Finished compiling with resulting exe" |
David Reiss | 37b3df2 | 2010-08-31 16:51:32 +0000 | [diff] [blame] | 29 | ls -l ./thrift.exe |