aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-01-24 21:00:21 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-01-24 21:00:21 +0000
commitdf9fa297c6f3d9782b82d85a0e4d4bc587df3538 (patch)
tree764d36648f461e57faa0b392b4c154a19b4d53d8
parentedf5c893ae777ded3f22d4146b306afee22fd912 (diff)
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
-rw-r--r--README.txt6
1 files changed, 5 insertions, 1 deletions
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 :
------------------------------------------------------------------------------