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

make ./configure autoset gcc via CC & friends #1222

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

make ./configure autoset gcc via CC & friends #1222

wants to merge 3 commits into from

Conversation

drewc
Copy link
Collaborator

@drewc drewc commented Apr 17, 2024

The new %default-gerbil-gcc can be set! semi-permanently via the ./configure script by $CC or $GERBIL_GCC.

Then the gxc compiler (and bach) will always use that UNLESS it no longer exists or GERBIL_GCC is set, or CC is set.

If it cannot find them the old "use the first gcc in $PATH" applies. This is exported via (gerbil-gcc)

A config file will be added.

Copy link

netlify bot commented Apr 17, 2024

Deploy Preview for elastic-ritchie-8f47f9 ready!

Name Link
🔨 Latest commit 6457728
🔍 Latest deploy log https://app.netlify.com/sites/elastic-ritchie-8f47f9/deploys/6626f4d4d4a8670008492803
😎 Deploy Preview https://deploy-preview-1222--elastic-ritchie-8f47f9.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Collaborator

@vyzo vyzo left a comment

Choose a reason for hiding this comment

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

This doesnt look bootstrap-safe, I dont think we should autogenerate a module.

Lets try reading an env file at runtime.

@drewc drewc changed the title add a 'cc.ss' file, make ./configure autoset gcc via CC & friends make ./configure autoset gcc via CC & friends Apr 17, 2024
@fare
Copy link
Collaborator

fare commented May 26, 2024

I really don't like the modifying a source file in-place. It doesn't play well with git.

Generating a different file, or having the file read some configuration at compile-time, would be much better.

@ober
Copy link
Collaborator

ober commented May 28, 2024

👍
This bit me on a 5 hour build.

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.

None yet

4 participants