diff options
author | Tony Theodore <tonyt@logyst.com> | 2013-08-11 07:29:56 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2013-08-11 07:29:56 (GMT) |
commit | 063edb11613f794da77a70f0580ba0ade18df22e (patch) | |
tree | 1f4cf6e6a92c51cf78f383fbc2a74c4fe3e26d87 | |
parent | 54ce1763e960cc5ce310d1a56b346451bcfbf46b (diff) | |
parent | cc71a5d94fb7b71d7b7dc326f879016fd302db8f (diff) | |
download | mxe-063edb11613f794da77a70f0580ba0ade18df22e.zip mxe-063edb11613f794da77a70f0580ba0ade18df22e.tar.gz mxe-063edb11613f794da77a70f0580ba0ade18df22e.tar.bz2 |
Merge branch 'stable'
-rw-r--r-- | index.html | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -356,6 +356,13 @@ exit</pre> <pre>export PATH=/<em>where MXE is installed</em>/usr/bin:$PATH</pre> <p> + You may be tempted to also add <code>$(TARGET)/bin</code> + to your path. You <strong>never</strong> want to do this, + the executables and scripts in there will cause conflicts + with your native toolchain. + </p> + + <p> In case you are using custom $PKG_CONFIG_PATH entries, you can add separate entries for cross builds: </p> @@ -373,6 +380,13 @@ exit</pre> may spoil your compiling pleasure, so be sure to delete or disable those. </p> + <p> + For the most isolated and repeatable environment, + use a white-list approach: + </p> + <pre>unset `env | \ + grep -v '^HOME=\|^LANG=\|^PATH=\|PKG_CONFIG\|^PS1=\|^TERM=' | \ + sed -n 's,\(.*\)=.*$,\1,p' | tr '\n' ' '`</pre> <p> Congratulations! |