Comments (11)
I want basically users to prepare their own build environment, because:
- PackCC is a highly portable single-source program, which can be built just using a C compiler command once,
cc -o packcc packcc.c
- PackCC mostly uses standard C library functions, considering portability, and prepares alternative implementations for nonportable functions like
strnlen()
.
Again, I have no plan to use CMake or Autotools for now because I don't feel their necessity as for PackCC.
from packcc.
Thank you for your proposal.
Currently, I don't plan to use them since the source code of packcc is already portable enough.
I might begin to consider using the tools when a user of a platform other than Linux, BSD, macOS, and Windows appears.
from packcc.
- Does a tool like โautoscanโ show any software dependencies that you find worth for further considerations?
- How do you think about to support more development environments by the reuse of build system generators?
from packcc.
Autotools is often worse than useless, not only is it a required dependency, but can dramatically slow down the build because the configure scripts are comically slow.
My suggestion would be to perhaps delete the makefiles entirely.
from packcc.
@elfring,
I'm going to close this issue because it seems that most people don't feel this issue is an issue.
If you have any objection against closing this issue, let me know by the end of this month (Aug. 2022).
from packcc.
๐ญ I hope that interests can grow also for applications of build system generators.
from packcc.
It might be just your impression, and isn't persuasive.
from packcc.
@arithy How about adding a FAQ entry to README.md?
e.g.
diff --git a/README.md b/README.md
index 7510d17..e4a4e9e 100644
--- a/README.md
+++ b/README.md
@@ -705,3 +705,15 @@ int main() {
You can find the more practical example in the directory [`examples/ast-tinyc`](examples/ast-tinyc).
It builds an AST (abstract syntax tree) from an input source file
written in [Tiny-C](http://www.iro.umontreal.ca/~felipe/IFT2030-Automne2002/Complements/tinyc.c) and dump the AST.
+
+## FAQ ##
+
+<dl>
+ <dt>Will you support another build system than other Make?</dt>
+ <dd>No. I have no plan to use CMake or Autotools for now because I don't feel their necessity as for PackCC.</dd>
+ <dt>Which language is assumed for building packcc command?</dt>
+ <dd>C language. C++ is not assumed for building packcc command.</dd>
+ <dt>Which language is assumed for compiling the source code generated by packcc?</dt>
+ <dd>C language. C++ language is not assumed for compiling the source code generated by packcc.
+ However, you can link the object code compiled from the source code to your C++ code.</dd>
+</dl>
from packcc.
@masatake, it's a good idea. Thank you for the suggestion. I'll add the FAQs.
from packcc.
I have no plan to use CMake or Autotools for now because I don't feel their necessity as for PackCC.
๐ฎ Under which circumstances will software users feel the need for increasing applications of known functionality?
from packcc.
I stated #3 (comment) as the reason why I don't feel their necessity.
The discussion will become an infinite loop. I have decided to close this issue.
from packcc.
Related Issues (20)
- Peg only mode? HOT 9
- Parser very slow with repeated parse calls HOT 3
- Lexical state support HOT 5
- Import support HOT 10
- Questions not answered in the README HOT 12
- Passing auxil to PCC_DEBUG HOT 3
- AST Mode HOT 11
- Uninitialized variables HOT 8
- value passthrough HOT 4
- parser reads more data than necessary HOT 3
- Strange bad generated parser HOT 5
- Memory usage compared to gcc compiler HOT 13
- raising error from action? HOT 2
- %value and memory management HOT 2
- Consider add support for UCD(Unicode Character Database) rule pattern HOT 3
- Pre type checking possible? HOT 5
- Lookahead woes and more HOT 2
- Parsing a "switch { case n: m }"
- How to do good syntax error handling? HOT 2
- Null pointer error on broken grammar HOT 2
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 packcc.