Quickly configure the Synology cross compile toolchain on linux. (1511+ Intel Atom)
You may also need to specify C(XX)FLAGS="march=i686" See previous post on this.
env \CC=/usr/local/x86_64-linux-gnu/bin/x86_64-linux-gnu-gcc\LD=/usr/local/x86_64-linux-gnu/bin/x86_64-linux-gnu-ld \RANLIB=/usr/local/x86_64-linux-gnu/bin/x86_64-linux-gnu-ranlib \LDFLAGS="-L/usr/local/x86_64-linux-gnu/lib" \CFLAGS="-I/usr/local/x86_64-linux-gnu/include" \./configure \--target=x86_64-linux-gnu \--build=i686-pc-linux-gnu \--prefix=/usr/local \--host=x86_64-linux-gnu
No comments:
Post a Comment