[Rpcemu] building rpcemu under cygwin with -mno-cygwin results in building for linux?

jan rinze janrinze at gmail.com
Tue Sep 18 11:43:42 BST 2007


Hi all,

i have tried to build rpcemu from SVN and apparently when i try to build it,
the build environment thinks it needs to build for Linux..

I have configured it with:

$ env CC="gcc -mno-cygwin" ./configure --host=i686-pc-mingw32
--disable-allegrotest
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-mingw32-strip... no
checking for strip... strip
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-mingw32
checking for i686-pc-mingw32-gcc... gcc -mno-cygwin
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -mno-cygwin accepts -g... yes
checking for gcc -mno-cygwin option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc -mno-cygwin... gcc3
checking for library containing strerror... none required
checking how to run the C preprocessor... gcc -mno-cygwin -E
checking for X... no
checking for allegro-config... /usr/local/bin/allegro-config
checking for Allegro - version >= 4.0.0... yes (version ..)
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

but when running make it fails with:


rpc-linux.c:118: error: parse error before "thread"
rpc-linux.c:118: warning: data definition has no type or storage class
make[1]: *** [rpcemu-rpc-linux.o] Error 1
make[1]: Leaving directory `/home/rpcemu/rpcemu/src'
make: *** [all] Error 2

apparently it has decided to make a Makefile for linux..

Any suggestions how i should comple it?

Jan Rinze.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riscos.info/pipermail/rpcemu/attachments/20070918/e98ea5eb/attachment.html 


More information about the Rpcemu mailing list