Skip to content
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

feat/ffi-rust #16

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

feat/ffi-rust #16

wants to merge 6 commits into from

Conversation

ubugeeei
Copy link
Owner

@ubugeeei ubugeeei commented Jan 9, 2023

No description provided.

@@ -32,11 +32,15 @@ MAKE = make -r
DEL = rm -f

CC = i386-elf-gcc
# FIXME: いい感じにリンクできない
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$(OUT_DIR)/kernel/rust/rustlib.aをいい感じに混ぜたい

$(MAKE) $(OUT_DIR)/kernel/rust/rustlib.a

$(OUT_DIR)/kernel/rust/rustlib.a: target/dos/release/librust.rlib
i386-elf-ar rcs $@ target/dos/release/librust.rlib

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1年越しですが、koba789さんの配信アーカイブ見て来ました

エラーメッセージにある通り、ranlibを実行しないといけないのでは?
この行の後に ranlib $@i386-elf-ranlib $@ かも?)をすると良いかと思います

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants