Giter Site home page Giter Site logo

brlin-tw / hello-gnu-build-system Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 21 KB

This is a starter project for learning GNU Build System and its features and constraints.

C 34.39% Makefile 12.06% M4 53.55%
tutorial limitations gnu-build-system autoconf automake autoheader

hello-gnu-build-system's Introduction

Hello GNU Build System

This is a starter project for learning GNU Build System and its features and constraints.
<https://github.com/Lin-Buo-Ren/Hello-GNU-Build-System>
Build Status of the latest snapshot on Travis CI

License

This intellectual property is licensed under GNU Generic Public License version 3, and other recent versions you like.

Obstacles For Projects To Adopt The GNU Build System

Doesn't Support Source Code Filename With Spaces

Configurations That Will Trigger This Issue

  • /home/user/projects/my-project/src/Hello World.c

Explanation

Although the manual doesn't quite clearly point out, GNU Make(and thus, Automake and Autoconf etc.) doesn't really compatible with filenames with space character(s) due to space been specify as the filename separator.

Workaround

Don't use source filenames with spaces.

References

While there are workarounds but it is still too fragile to deal with not even thinking about Automake and it's friends.

Doesn't Support Source Tree Directoryname With Spaces

Although the manual doesn't quite clearly point out, GNU Build System doesn't really compatible with directorynames with space character(s).

Configurations That Will Trigger The Issue

  • /home/user/projects/my-project/Source Code/main.c

References

  • Re: should a space really be a "special character" ?

    -** The configure command now diagnoses attempts to use a working or source

    • directory whose name contains a special character like space, newline, or "".
    • Such names are not supported, and can cause "configure" to crash.

Some Compability Issues Need To Keep In Mind Of

Built Aritfacts Filename With Hyphens In Makefile.am

Hyphens needs to be escaped as underscores in Makefile.am

hello-gnu-build-system's People

Contributors

brlin-tw avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.