-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cross no longer works, manual script fails on linking #9
Comments
getting a bit further, seems unicode is a problem?
|
ah, it appears I am missing this: https://github.com/swift-embedded/unicode-support, unsure how to do this in a manual fashion sadly. |
This was indeed the problem. I managed to get a compile working by compiling the unicode-support separately then using this command: swiftc -Xcc -ffunction-sections -Xcc -fdata-sections -Xcc -mthumb -Xlinker --gc-sections -Xfrontend -metadata-sections -Xfrontend -function-sections -Xfrontend -data-sections -static-stdlib -target thumbv7m-unknown-none-eabi -use-ld=/Users/ericlewis/Library/Developer/Toolchains/swift-LOCAL-2020-02-15-a.xctoolchain/usr/bin/../lib/gcc/arm-none-eabi/8.2.1/../../../../arm-none-eabi/bin/ld -Xcc -D_BAREMETAL -L/Users/ericlewis/Library/Developer/Toolchains/swift-LOCAL-2020-02-15-a.xctoolchain/usr/bin/../lib/gcc/arm-none-eabi/8.2.1/thumb/v7e-m/nofp/ -L/Users/ericlewis/Library/Developer/Toolchains/swift-LOCAL-2020-02-15-a.xctoolchain/usr/bin/../lib/gcc/thumb/v7e-m/nofp/ -L/Users/ericlewis/Library/Developer/Toolchains/swift-LOCAL-2020-02-15-a.xctoolchain/usr/bin/../lib/gcc/arm-none-eabi/8.2.1/../../../../arm-none-eabi/lib/arm-none-eabi/8.2.1/thumb/v7e-m/nofp/ -L/Users/ericlewis/Library/Developer/Toolchains/swift-LOCAL-2020-02-15-a.xctoolchain/usr/bin/../lib/gcc/arm-none-eabi/8.2.1/../../../../arm-none-eabi/lib/thumb/v7e-m/nofp/ -L/Users/ericlewis/Library/Developer/Toolchains/swift-LOCAL-2020-02-15-a.xctoolchain/usr/bin/../arm-none-eabi/lib/arm-none-eabi/8.2.1/thumb/v7e-m/nofp/ -L/Users/ericlewis/Library/Developer/Toolchains/swift-LOCAL-2020-02-15-a.xctoolchain/usr/bin/../arm-none-eabi/lib/thumb/v7e-m/nofp/ -L/Users/ericlewis/Library/Developer/Toolchains/swift-LOCAL-2020-02-15-a.xctoolchain/usr/bin/../arm-none-eabi/usr/lib/arm-none-eabi/8.2.1/thumb/v7e-m/nofp/ -L/Users/ericlewis/Library/Developer/Toolchains/swift-LOCAL-2020-02-15-a.xctoolchain/usr/bin/../arm-none-eabi/usr/lib/thumb/v7e-m/nofp/ -L/Users/ericlewis/Library/Developer/Toolchains/swift-LOCAL-2020-02-15-a.xctoolchain/usr/bin/../lib/gcc/arm-none-eabi/8.2.1/ -L/Users/ericlewis/Library/Developer/Toolchains/swift-LOCAL-2020-02-15-a.xctoolchain/usr/bin/../lib/gcc/ -L/Users/ericlewis/Library/Developer/Toolchains/swift-LOCAL-2020-02-15-a.xctoolchain/usr/bin/../lib/gcc/arm-none-eabi/8.2.1/../../../../arm-none-eabi/lib/arm-none-eabi/8.2.1/ -L/Users/ericlewis/Library/Developer/Toolchains/swift-LOCAL-2020-02-15-a.xctoolchain/usr/bin/../lib/gcc/arm-none-eabi/8.2.1/../../../../arm-none-eabi/lib/ -L/Users/ericlewis/Library/Developer/Toolchains/swift-LOCAL-2020-02-15-a.xctoolchain/usr/bin/../arm-none-eabi/lib/arm-none-eabi/8.2.1/ -L/Users/ericlewis/Library/Developer/Toolchains/swift-LOCAL-2020-02-15-a.xctoolchain/usr/bin/../arm-none-eabi/lib/ -L/Users/ericlewis/Library/Developer/Toolchains/swift-LOCAL-2020-02-15-a.xctoolchain/usr/bin/../arm-none-eabi/usr/lib/arm-none-eabi/8.2.1/ -L/Users/ericlewis/Library/Developer/Toolchains/swift-LOCAL-2020-02-15-a.xctoolchain/usr/bin/../arm-none-eabi/usr/lib/ -lswiftCore -lswiftStdlibStubsBaremetal -lstdc++_nano -lc -lg -lm -lgcc -Xlinker -T -Xlinker ./linker.ld imp.o unicode.o test.swift |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello! Awesome project, I am attempting to try a compile here, using the toolchain & it dies at the part where it tries to link with __Vector. Any advice?
The text was updated successfully, but these errors were encountered: