Skip to content

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

Notifications You must be signed in to change notification settings

brlin-tw/Hello-GNU-Build-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published