Date: Wed, 16 May 2012 17:06:33 -0700 From: Isaac Dunham <idunham@...abit.com> To: musl@...ts.openwall.com Subject: Re: SIG_* in signal.h On Thu, 17 May 2012 01:11:20 +0200 Szabolcs Nagy <nsz@...t70.net> wrote: > * Isaac Dunham <idunham@...abit.com> [2012-05-16 16:05:12 -0700]: > > > On Thu, 17 May 2012 00:12:27 +0200 > > Szabolcs Nagy <nsz@...t70.net> wrote: > > > > > i just tried to compile pcc using musl > > > and it failed because SIG_IGN was undefined > > > > > > it seem SIG_ING, SIG_ERR, SIG_DFL are ifdefed > > > with various featuretest macros in signal.h > > > eventhough they are ansic > > > > > Not what stopped it for me: > > > you are compiling musl with pcc and not pcc with musl :) Mixed up on the wires. > > /opt/musl/bin/pcc -std=c99 -ffreestanding -nostdinc > > -D_XOPEN_SOURCE=700 .... Everything in /opt/musl is built against a fairly current musl... pcc was built against my 'fixes' (really ought to be "hacks" ;) ) branch, which is current enough that this morning, git pull origin master said it was up-to-date. pcc & pcc-libs are version 20120516. I used -D_BSD_SOURCE and maybe also -D_GNU_SOURCE, though.
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.