Comments (5)
I'm guessing we need to put this somewhere? https://github.com/tendra/tendra/blob/c8780bd250b38dffe840c1afab7912f43c2a50f7/tcc/env/base
from misc-builder.
Or maybe even both startup and env folders https://github.com/tendra/tendra/tree/main/tcc
Why they were not packaged, I'm not sure. (or are they?)
from misc-builder.
Ok, so I've built tendra with these changes to its source code: tendra/tendra@main...partouf:envfixes
And then I could do this and get an executable:
TEMP_PATH=/tmp TCCENV=/home/partouf/Documents/misc-builder/tendra-trunk-20200813/tendra-trunk-20200813/lib/tcc/env bin/tcc /home/partouf/Documents/main.c
The TCCENV bit should probably still be fixed.
And I think this should still be compatible with how other users would build it.
from misc-builder.
need for TCCENV eliminated, sent a PR
from misc-builder.
Hi there! These paths are currently compiled into tcc at build time. They can be overridden at runtime of course, see tcc -vd
to print a list of its internal environment variables. ENVPATH
is one of those, it's like $PATH for binaries.
So for our purposes for CE, I don't think we need to change anything - we should be able to invoke tcc with something like tcc -yENVPATH=/path/to/environments ...
to the same effect.
The idea for having tcc figure out its location to set defaults makes sense to me - I'll comment about that on the PR in the tendra repo. Essentially I wonder if we can do the prefixing in the environment files (which are a simple config language), rather than in C.
from misc-builder.
Related Issues (11)
- kill s3cmd in favour of aws s3 cp HOT 2
- TenDRA build to bootstrap HOT 1
- Change branch used for dotnet versions
- Dotnet failing because of a locale issue? HOT 3
- rustc-cg-gcc_master nightly build failed HOT 9
- SPIRV-tools doesn't build HOT 1
- Add revision check to mrustc build
- Separate out the .net and hip/rocm build HOT 2
- DXC preview fails to build HOT 1
- hylo builds are broken HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from misc-builder.