autotools
autotools: Enable compiler warnings
for an autotools-based C project, I\'d like to get some more warnings from the compiler (e.g. at least -Wall in CFLAGS). What is the prefered way to enable compiler flags without breaking anything? Is[详细]
2023-01-14 20:05 分类:问答Git diff ignore
Is it 开发者_JAVA技巧somehow possible to ignore certain files during git diff? I\'m specifically interested in filtering out Makefile.in, Makefile, configure (and all that auto-generated crap).You can[详细]
2023-01-11 22:21 分类:问答Macro definitions for headers, where to put them?
When defining macros that headers rely on, such as _FILE_OFFSET_BITS, FUSE_USE_VERSION, _GNU_SOURCE among others, where is the best place to put them?[详细]
2023-01-10 00:21 分类:问答How to define macro for C project in autotools?
How do I define macros on a per-pro开发者_运维百科ject, or per file level in a C project using autotools?[详细]
2023-01-09 13:59 分类:问答Autotools - tar This does not look like a tar archive
After running make distcheck I get the message that I have successfully built the package and is ready for distribution. If I untar the tar.gz with tar -zxvf hello-0.2.tar.gz it successfully extracts[详细]
2023-01-08 15:01 分类:问答Compiling workflow with version control
Up till now I\'ve used version control for simple web-based projects that don\'t really have a compile stage.I\'ve now forked a relatively large project that follows the standard \"./configure; make;[详细]
2023-01-08 12:32 分类:问答Which files generated by Autotools should I keep in version control repository?
I am new to autotools and I am working on a C project. I want to add my project to a git repository. Which files generated by the autotools I need to track in my version control system and whic开发者_[详细]
2023-01-08 06:27 分类:问答How can you force recompilation of a single file in a Makefile?
The idea is that a project has a single file with __DATE__ and __TIME__ in it. It might be cool to have it recompiled without explicitly changing its modification date.[详细]
2023-01-08 02:58 分类:问答Simplest way to compile an autotools based shared C library for Android?
I have a cross-platform C library that I need to compile for Android as a *.so file. The library consist of many .c and .h files, and it use autotools as it\'s buid syste开发者_如何学Pythonm. (./confi[详细]
2023-01-07 20:44 分类:问答Make install, but not to default directories?
I want to run \'make install\' so I have everything I need, but I\'d like it to install the things in their own folder as opposed to the syste开发者_开发百科m\'s /usr/bin etc. is that possible? even i[详细]
2023-01-06 20:09 分类:问答