Skip to content
Snippets Groups Projects
Commit 464ff010 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Add setup script, remove openlibm from post-link (might have to readd later)

parent d2f5588d
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
export RUST_TARGET_PATH=`realpath targets`
export RUSTFLAGS="--cfg redox"
TARGET=x86_64-unknown-redox
......
setup.sh 0 → 100755
#!/bin/bash
set -e
./cook.sh libstd unfetch
./cook.sh libstd fetch
./cook.sh libstd build
cp recipes/libstd/build/target/x86_64-unknown-redox/debug/deps/*.rlib ~/.xargo/lib/rustlib/x86_64-unknown-redox/lib/
echo "cook.sh is ready to use"
......@@ -9,7 +9,6 @@
"vendor": "unknown",
"target-family": "redox",
"pre-link-args": ["-m64", "-nostdlib", "-static"],
"post-link-args": ["build/userspace/libopenlibm.a"],
"features": "-sse3,-ssse3,-sse4.1,-sse4.2,-3dnow,-3dnowa,-avx,-avx2",
"dynamic-linking": false,
"executables": true,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment