5 ms·
This is lovely. Portable C, awesome.
by natch 11y ago
This is lovely. Portable C, awesome.
- Scarbutt 11y agoHe says he used GNU C99, how is that portable C? http://johnkerl.org/miller/doc/whyc.html#C_is_old-school http://johnkerl.org/miller/doc/whyc.html#C_is_old-school
- john_kerl 11y agomy aim is portability within a 21st century context ... I need to find a succinct way to say that. the word "portable" is the wrong choice; sounds like it would compile on everything ever which I don't aim for.
- ghshephard 11y agoNot totally portable. They have built some ctags option dependencies that I'm going to have to futz with in order to get the makefile to run. 12:58 shephard:c shephard$ make all ctags -R . ctags: illegal option -- R usage: ctags [-BFadtuwvx] [-f tagsfile] file ... make: *** [tags] Error 1 [Edit - No "-R" option for ctags in OS X 10.8.5, or in OpenBSD Current - http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man1/ctags.1?query=ctags http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man1/... Edit2 - Now, it seems to be breaking on lemon not being explicitly called out in the path during a make: lemon filter_dsl_parse.y make[1]: lemon: No such file or directory make[1]: *** [filter_dsl_parse.c] Error 1 make: *** [dsls] Error 2 13:07 shephard:c shephard$ ]
- john_kerl 11y agoyes, there is an issue open. I have . in my path. will post a diff.
- john_kerl 11y agofixed in master
- john_kerl 11y agoctags etc I'll split out. effectively there are make targets to make dev nice, and a smaller set just to make the binary. ctags definitely in the former category. thanks for the feedback!
- john_kerl 11y agofixed in master
- deleted 11y ago[deleted]