aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-01-25 20:04:44 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-01-25 20:04:44 +0000
commit3c1b772a815e117176870aa6b7c1e801ba9e73b8 (patch)
tree425fb2fb7520cc732fec1742de50233e4ba2c395
parent8e535e93efee1ed07984059f3a8efaa129c68a63 (diff)
updated instruction on cross-compilation
svn path=/trunk/externals/zexy/; revision=4495
-rw-r--r--README.txt14
1 files changed, 9 insertions, 5 deletions
diff --git a/README.txt b/README.txt
index 3daedf8..f8898fe 100644
--- a/README.txt
+++ b/README.txt
@@ -67,6 +67,7 @@ note on generating dependencies:
try:
make CPP=cc
+
win32 :
------------------------------------------------------------------------------
@@ -83,12 +84,15 @@ to compile:
OR
+ cross-compilation for windows on linux using mingw (assumes that the
crosscompiler is "i586-mingw32msvc-cc")
- #> CFLAGS="" ./configure --host=i586-mingw32msvc --with-extension=dll \
- --with-pd=/path/to/win/pd/ --disable-PIC
+ #> ./configure --host=i586-mingw32msvc --with-extension=dll \
+ --disable-PIC --with-pd=/path/to/win/pd/
+ #> make CFLAGS="-fno-unit-at-a-time"
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
+ accepts this; however, this optimization sometimes generates
+ binaries that cannot be loaded by pd; it seems that disabling
+ the "unit-at-a-time" optimization (which gets enabled by "-O2")
+ is the cause of this problem. turning it off might help
+
irix :
------------------------------------------------------------------------------