-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update README.md and add the loader_app template
- Loading branch information
Showing
9 changed files
with
61 additions
and
42 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "ruxgo" | ||
version = "0.9.4" | ||
version = "0.9.5" | ||
edition = "2021" | ||
authors = ["Zewei Yang <[email protected]>"] | ||
description = "A Cargo-like build tool for building C and C++ applications" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Load your app executable to run on RuxOS | ||
|
||
Inside this is a configuration template for loading your app executable, you just need to fill in your app path in the app field in [build]. | ||
|
||
To load and run your app executable, you first need to create your app directory under **`ruxos/apps/c/`**, then put your custom toml files into it, and then build and run with the following commands: | ||
|
||
```bash | ||
# Build and Run | ||
ruxgo -b | ||
ruxgo -r | ||
``` | ||
|
||
**Note**: | ||
|
||
The app executable needs to be compiled by musl. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[build] | ||
compiler = "gcc" | ||
# fill in your app path | ||
app = "/your_app_path" | ||
|
||
[os] | ||
name = "ruxos" | ||
services = ["alloc","fp_simd","irq","multitask","fs","net","pipe","epoll","poll","rtc","virtio-9p"] | ||
ulib = "ruxmusl" | ||
|
||
[os.platform] | ||
name = "aarch64-qemu-virt" | ||
smp = "1" | ||
log = "info" | ||
|
||
[os.platform.qemu] | ||
memory = "256M" | ||
net = "y" | ||
v9p = "y" | ||
v9p_path = "./rootfs" | ||
# your app parameter config | ||
args = "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# 简介 | ||
|
||
[Ruxgo](https://github.com/syswonder/ruxgo) 是一个类似 Cargo 的构建工具,用于构建 C 和 C++ 应用程序。与传统的 Make 构建工具不同,Ruxgo 的构建过程仅依赖一个 Toml 文件,其摒弃了繁杂的语法和规则限制,使得编译过程回归到更为简洁的状态。如果你对 Makefile 感到疲倦,Ruxgo 绝对值得你尝试,它能让你的构建过程变得更加轻松和高效。 | ||
[Ruxgo](https://github.com/syswonder/ruxgo) 是一个类似 Cargo 的构建工具, 专用于构建 C/C++ 应用程序, 它只依赖于一个 Toml 文件。 | ||
|
||
它也是 [RuxOS](https://github.com/syswonder/ruxos) 的一个配套命令行工具, 其目标是简化 RuxOS 及其上 C/C++ 应用程序的组装构建和管理。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters