Hi Stephane and gnuradio guys, I am trying to crosscompile gnuradio on linux using the debian mingw32 package.
But I am not sure how to get the python stuff working. I assume I have to convince the autotools to use all the include files, libraries and site-packages dir from python for windows on my windows drive. (I installed python2.4 on windows) But does it have to use my linux python executable for compiling and stuff. Or do I have to tell it to use my windows python.exe using wine? I also have a version mismatch between windows python (2.4) and linux python (2.3). I don't know if this is a problem? I know you have (had) crosscompiling working. What configure options and trick did you use? Here follow a few configure options I tried: (/d/ is a symbolic link to the mountpoint of my windows drive) #!/bin/sh ../usrp/configure --host=i586-mingw32msvc --with-cppunit-prefix=/d/MinGW/gtk2 --with-boost-include-dir=/d/boost_1_32_0/include/boost-1_32 PKG_CONFIG_PATH=/d/MinGW/gtk2 CPPFLAGS='-I/d/LibUsb-Win32-0.1.8.0/include -I/d/Python24/include' LDFLAGS=-L/d/LibUsb-Win32-0.1.8.0/lib/gcc am_cv_python_platform=win32 am_cv_python_pyexecdir=/d/Python24/Lib/site-packages am_cv_python_pythondir=/d/Python24/Lib/site-packages am_cv_python_version=2.4 PYTHON_CPPFLAGS=-I/d/Python24/include PYTHON_LDFLAGS='-L/d/Python24/libs -lpython24' PYTHON_PLATFORM=win32 PYTHON_VERSION=2.4 2>&1 | tee configure-mingw-cross.log ../usrp/configure --host=i586-mingw32msvc --with-cppunit-prefix=/d/MinGW/gtk2 --with-boost-include-dir=/d/boost_1_32_0/include/boost-1_32 PKG_CONFIG_PATH=/d/MinGW/gtk2 CPPFLAGS='-I/d/LibUsb-Win32-0.1.8.0/include' LDFLAGS=-L/d/LibUsb-Win32-0.1.8.0/lib/gcc 2>&1 | tee configure-mingw-cross.log ../usrp/configure --host=i586-mingw32msvc --with-cppunit-prefix=/d/MinGW/gtk2 --with-boost-include-dir=/d/boost_1_32_0/include/boost-1_32 PKG_CONFIG_PATH=/d/MinGW/gtk2 CPPFLAGS='-I/d/LibUsb-Win32-0.1.8.0/include -I/d/Python24/include' LDFLAGS=-L/d/LibUsb-Win32-0.1.8.0/lib/gcc am_cv_python_platform=win32 am_cv_python_pyexecdir=/d/Python24/Lib/site-packages am_cv_python_pythondir=/d/Python24/Lib/site-packages am_cv_python_version=2.4 PYTHON='wine /mnt/win2k/Python24/python.exe' PYTHON_CPPFLAGS=-I/d/Python24/include PYTHON_LDFLAGS='-L/d/Python24/libs -lpython24' PYTHON_PLATFORM=win32 PYTHON_VERSION=2.4 ac_cv_path_PYTHON='wine /mnt/win2k/Python24/python.exe --' 2>&1 | tee configure-mingw-cross.log ../usrp/configure --host=i586-mingw32msvc --with-cppunit-prefix=/d/MinGW/gtk2 --with-boost-include-dir=/d/boost_1_32_0/include/boost-1_32 PKG_CONFIG_PATH=/d/MinGW/gtk2 CPPFLAGS='-I/d/LibUsb-Win32-0.1.8.0/include -I/d/Python24/include' LDFLAGS=-L/d/LibUsb-Win32-0.1.8.0/lib/gcc am_cv_python_platform=win32 am_cv_python_pyexecdir=/d/Python24/Lib/site-packages am_cv_python_pythondir=/d/Python24/Lib/site-packages am_cv_python_version=2.4 PYTHON='wine /mnt/win2k/Python24/python.exe' PYTHON_CPPFLAGS=-I/d/Python24/include PYTHON_LDFLAGS='-L/d/Python24/libs -lpython24' PYTHON_PLATFORM=win32 PYTHON_VERSION=2.4 ac_cv_path_PYTHON='wine /mnt/win2k/Python24/python.exe' 2>&1 | tee configure-mingw-cross.log ../usrp/configure --host=i586-mingw32msvc --with-cppunit-prefix=/d/MinGW/gtk2 --with-boost-include-dir=/d/boost_1_32_0/include/boost-1_32 PKG_CONFIG_PATH=/d/MinGW/gtk2 CPPFLAGS='-I/d/LibUsb-Win32-0.1.8.0/include -I/d/Python24/include' LDFLAGS=-L/d/LibUsb-Win32-0.1.8.0/lib/gcc am_cv_python_platform=win32 am_cv_python_pyexecdir=/d/Python24/Lib/site-packages am_cv_python_pythondir=/d/Python24/Lib/site-packages am_cv_python_version=2.4 PYTHON='wine /mnt/win2k/Python24/python.exe' PYTHON_CPPFLAGS=-I/d/Python24/include PYTHON_LDFLAGS='-L/d/Python24/libs -lpython24' PYTHON_PLATFORM=win32 PYTHON_VERSION=2.4 2>&1 | tee configure-mingw-cross.lo ../usrp/configure --host=i586-mingw32msvc --with-cppunit-prefix=/d/MinGW/gtk2 --with-boost-include-dir=/d/boost_1_32_0/include/boost-1_32 PKG_CONFIG_PATH=/d/MinGW/gtk2 CPPFLAGS='-I/d/LibUsb-Win32-0.1.8.0/include -I/d/Python24/include' LDFLAGS=-L/d/LibUsb-Win32-0.1.8.0/lib/gcc am_cv_python_platform=win32 am_cv_python_pyexecdir=/d/Python24/Lib/site-packages am_cv_python_pythondir=/d/Python24/Lib/site-packages am_cv_python_version=2.4 PYTHON_CPPFLAGS=-I/d/Python24/include PYTHON_LDFLAGS='-L/d/Python24/libs -lpython24' PYTHON_PLATFORM=win32 PYTHON_VERSION=2.4 2>&1 | tee configure-mingw-cross.log Greetings, Martin _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio