From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21100 invoked by alias); 5 Jan 2012 18:08:52 -0000 Received: (qmail 21091 invoked by uid 22791); 5 Jan 2012 18:08:49 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-lpp01m010-f41.google.com (HELO mail-lpp01m010-f41.google.com) (209.85.215.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 05 Jan 2012 18:08:37 +0000 Received: by lagv3 with SMTP id v3so306615lag.0 for ; Thu, 05 Jan 2012 10:08:35 -0800 (PST) Received: by 10.152.128.98 with SMTP id nn2mr1159420lab.14.1325786915278; Thu, 05 Jan 2012 10:08:35 -0800 (PST) MIME-Version: 1.0 Received: by 10.152.115.1 with HTTP; Thu, 5 Jan 2012 10:08:04 -0800 (PST) In-Reply-To: <4F0543B5.5010306@amk-drives.bg> References: <4F043938.80908@amk-drives.bg> <20120104180655.GC32676@sakrah.homelinux.org> <4F0543B5.5010306@amk-drives.bg> From: Khem Raj Date: Thu, 05 Jan 2012 18:08:00 -0000 Message-ID: Subject: Re: OSELAS.Toolchain-2011.03.0: PTHREAD_PRIO_INHERIT undeclared for arm-1136jfs-linux-gcc To: Daniel Lehne Cc: crossgcc@sourceware.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org X-SW-Source: 2012-01/txt/msg00011.txt.bz2 On Wed, Jan 4, 2012 at 10:31 PM, Daniel Lehne wrote: > On 04.1.2012 =D0=B3. 20:06, Khem Raj wrote: >> >> On (04/01/12 13:34), Daniel Lehne wrote: >>> >>> Hello, >>> >>> Why this protocol is only for __USE_UNIX98 allowed? Is there a >>> solution to use this protocol PTHREAD_PRIO_INHERIT =C2=A0with gcc? >> >> add #define _GNU_SOURCE >> at the top of your source file. >> >> > I've tried it already __GNU_SOURCE don't works because of _XOPEN_SOURCE = =3D > 600. I don't want to make changes in features.h. May i will set __USE_UNI= X98 > directly in source before the usage of phtread.h. Your answer shows me, t= his > PTHREAD_PRIO_INHERIT should be available also for c source (gcc). > take your source add #define _GNU_SOURCE to it on top or add it on cmdline like below -D_GNU_SOURCE is that too hard ? > Thanks! > -- For unsubscribe information see http://sourceware.org/lists.html#faq