From df9fa297c6f3d9782b82d85a0e4d4bc587df3538 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Tue, 24 Jan 2006 21:00:21 +0000 Subject: updated notes for cross-compilation (i finally made it work! - but it is still a bit of magic to me) svn path=/trunk/externals/zexy/; revision=4481 --- README.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'README.txt') diff --git a/README.txt b/README.txt index a3cc6b3..3daedf8 100644 --- a/README.txt +++ b/README.txt @@ -83,8 +83,12 @@ to compile: OR + cross-compilation for windows on linux using mingw (assumes that the crosscompiler is "i586-mingw32msvc-cc") - #> ./configure --host=i586-mingw32msvc --with-extension=dll \ + #> CFLAGS="" ./configure --host=i586-mingw32msvc --with-extension=dll \ --with-pd=/path/to/win/pd/ --disable-PIC + notes: configure tries to set the CFLAGS to "-g -O2" if the compiler + accepts this; however, i noticed that when doing a cross-compilation + for w32, pd will not be able to load certain externals if "-O2" + is turned on; the 'CFLAGS=""' will prevent this irix : ------------------------------------------------------------------------------ -- cgit v1.2.1