-
Notifications
You must be signed in to change notification settings - Fork 170
Support immediate binding option #335
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -41,9 +41,10 @@ fi | |||||
|
|
||||||
| # Command Line Arguments | ||||||
| if [ "$#" -lt 1 ]; then | ||||||
| echo "Usage: $0 <stage> [<dynlink>]" | ||||||
| echo "Usage: $0 <stage> [<dynlink> [<binding>]]" | ||||||
| echo " stage: 0 (host compiler), 1 (stage1), or 2 (stage2)" | ||||||
| echo " dynlink: 0 (static linking), 1 (dynamic linking)" | ||||||
| echo " binding: lazy, now" | ||||||
| echo "" | ||||||
| echo "Environment Variables:" | ||||||
| echo " VERBOSE=1 Enable verbose output" | ||||||
|
|
@@ -73,6 +74,7 @@ case "$1" in | |||||
| esac | ||||||
|
|
||||||
| DYNLINK="${2:-0}" | ||||||
| BINDING="${3:-lazy}" | ||||||
|
|
||||||
| # Banner | ||||||
| echo -e "${BLUE}${BOLD}========================================${NC}" | ||||||
|
|
@@ -144,7 +146,7 @@ run_abi_test() | |||||
| # Compile | ||||||
| local compile_cmd="$SHECC" | ||||||
| if [[ "$DYNLINK" == "1" ]]; then | ||||||
| compile_cmd="$compile_cmd --dynlink" | ||||||
| compile_cmd="$compile_cmd --dynlink -z $BINDING" | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P2: When the binding argument contains shell syntax, this line inserts it into an Prompt for AI agents
Suggested change
|
||||||
| fi | ||||||
| compile_cmd="$compile_cmd -o /tmp/shecc_abi_test_$$.elf $test_file" | ||||||
|
|
||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -41,9 +41,10 @@ fi | |||||
|
|
||||||
| # Command Line Arguments | ||||||
| if [ "$#" -lt 1 ]; then | ||||||
| echo "Usage: $0 <stage> [<dynlink>]" | ||||||
| echo "Usage: $0 <stage> [<dynlink> [<binding>]]" | ||||||
| echo " stage: 0 (host compiler), 1 (stage1), or 2 (stage2)" | ||||||
| echo " dynlink: 0 (static linking), 1 (dynamic linking)" | ||||||
| echo " binding: lazy, now" | ||||||
| echo "" | ||||||
| echo "Environment Variables:" | ||||||
| echo " VERBOSE=1 Enable verbose output" | ||||||
|
|
@@ -73,6 +74,7 @@ case "$1" in | |||||
| esac | ||||||
|
|
||||||
| DYNLINK="${2:-0}" | ||||||
| BINDING="${3:-lazy}" | ||||||
|
|
||||||
| # Banner | ||||||
| echo -e "${BLUE}${BOLD}========================================${NC}" | ||||||
|
|
@@ -144,7 +146,7 @@ run_abi_test() | |||||
| # Compile | ||||||
| local compile_cmd="$SHECC" | ||||||
| if [[ "$DYNLINK" == "1" ]]; then | ||||||
| compile_cmd="$compile_cmd --dynlink" | ||||||
| compile_cmd="$compile_cmd --dynlink -z $BINDING" | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P2: An unvalidated Prompt for AI agents
Suggested change
|
||||||
| fi | ||||||
| compile_cmd="$compile_cmd -o /tmp/shecc_abi_test_$$.elf $test_file" | ||||||
|
|
||||||
|
|
||||||
Uh oh!
There was an error while loading. Please reload this page.