Skip to content

Commit

Permalink
Update configure lines
Browse files Browse the repository at this point in the history
  • Loading branch information
fwsGonzo committed Oct 5, 2017
1 parent 9ed359c commit 736bc76
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion create_bundle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
# 1.1. Mac
# ./configure.py --os=includeos --cpu=x86_32 --disable-shared --minimized --enable-modules=sha2_64,sha2_32,x509,hkdf,hmac,dev_random,tls,system_rng --cc=clang --cc-bin=/usr/local/bin/clang++ --cc-abi-flags="--target=i686-elf -D_LIBCPP_HAS_NO_THREADS=1 -D_GNU_SOURCE -nostdlib -stdlib=libc++ -nostdinc++ -L/usr/local/includeos/lib -Wl,-rpath,/usr/local/includeos/lib -msse3 -I/usr/local/includeos/api/sys -I/usr/local/includeos/include/libcxx -I/usr/local/includeos/include/newlib -v"
# 1.2. Edit Makefile to i686-elf-ar
# 1.1 Linux
# ./configure.py --os=includeos --cpu=x86_32 --disable-shared --minimized --enable-modules=sha2_64,sha2_32,x509,hkdf,hmac,dev_random,tls,system_rng --cc=clang --cc-abi-flags="--target=i686-elf -msse3 -D_LIBCPP_HAS_NO_THREADS=1 -D_GNU_SOURCE -nostdlib -stdlib=libc++ -nostdinc++ -L$INCLUDEOS_PREFIX/includeos/i686/lib -Wl,-rpath,$INCLUDEOS_PREFIX/includeos/i686/lib -I$INCLUDEOS_PREFIX/includeos/api -I$INCLUDEOS_PREFIX/includeos/api/posix -I$INCLUDEOS_PREFIX/includeos/i686/include/libcxx -I$INCLUDEOS_PREFIX/includeos/i686/include/newlib"
###
### ./configure.py --os=includeos --cpu=x86_64 --disable-shared --minimized --enable-modules=sha2_64,sha2_32,x509,hkdf,hmac,dev_random,tls,system_rng --cc=clang --cc-abi-flags="--target=x86_64-elf -msse3 -D_LIBCPP_HAS_NO_THREADS=1 -D_GNU_SOURCE -nostdlib -stdlib=libc++ -nostdinc++ -L$INCLUDEOS_PREFIX/includeos/x86_64/lib -Wl,-rpath,$INCLUDEOS_PREFIX/includeos/x86_64/lib -I$INCLUDEOS_PREFIX/includeos/api -I$INCLUDEOS_PREFIX/includeos/api/posix -I$INCLUDEOS_PREFIX/includeos/x86_64/include/libcxx -I$INCLUDEOS_PREFIX/includeos/x86_64/include/newlib"
###

# 2. make libs
# 3. create_bundle.sh
Expand All @@ -13,4 +18,4 @@ TARFILE="botan-includeos.tar.gz"
pushd build/include
tar --exclude="botan/internal" -chzf ../../$TARFILE botan/ -C "../../" libbotan-2.a
popd
echo -e "> Created $TARFILE"
echo -e "> Created $TARFILE"

0 comments on commit 736bc76

Please sign in to comment.