LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-19-2013, 08:51 PM   #1
555
LQ Newbie
 
Registered: Aug 2013
Posts: 2

Rep: Reputation: Disabled
Bug?: 'getconf POSIX2_C_DEV' returns 200809 without c99 frontend


'getconf POSIX2_C_DEV' returns 200809 without c99 frontend to either clang or gcc.

More or less a scripting annoyance.


P27 of IEEE Posix-2008:

Quote:
POSIX2_C_DEV
The system supports the C-Language Development Utilities option. The utilities in the C-Language Development Utilities option are used for the development of C-language applications, including compilation or translation of C source code and complex program generators for simple lexical tasks and processing of context-free grammars. The utilities listed below may be provided by a conforming system; however, any system claiming conformance to the C-Language Development Utilities option shall provide all of the utilities listed.

c99
lex
yacc
P435 of IEEE Posix-2008:

Quote:
_POSIX2_C_DEV
The implementation supports the C-Language Development Utilities option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200809L. The value of this symbol reported by sysconf( ) shall either be -1 or 200809L.
 
Old 08-20-2013, 12:56 AM   #2
Ygrex
Member
 
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 657

Rep: Reputation: 66
sysconf() is about installed glibc variation rather than clang/gcc/etc.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Equivalent of std=c99 for C++ ? gnashley Programming 5 01-20-2010 05:09 PM
Compiler issue c99 sgriffiths Linux - Software 9 11-29-2006 03:23 AM
getconf issue hinetvenkat Linux - Software 1 11-02-2006 09:32 PM
LXer: Dhs Bug Hunt Returns Mixed Reaction LXer Syndicated Linux News 0 04-20-2006 06:33 AM
C99 libs in ISO C++ ta0kira Programming 0 05-20-2005 02:12 AM


All times are GMT -5. The time now is 03:28 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration