build-32.sh
[mes.git] / build-32.sh
1 rm -r .store src/mes.gcc src/mes.o lib/*.o
2 rm -f crt*
3 cp $GUIX_ENVIRONMENT/lib/crt* .
4 CC=i686-unknown-linux-gnu-gcc ./make.scm src/mes.gcc
5 /gnu/store/3kjpz1shbp7hqf5y1garxarz9d027qh6-profile/bin/patchelf --set-interpreter /gnu/store/vcix667q0565nsd9gxk42nj2pmph5i6v-glibc-cross-i686-unknown-linux-gnu-2.26.105-g0890d5379c/lib/ld-linux.so.2 src/mes.gcc
6 mv src/mes.gcc src/mes.gcc-32