On Thu, Aug 27, 2009 at 10:33:22AM +0200, Rafael Garcia-Suarez wrote:
> 2009/8/27 Paul Fenwick <p...@perltraining.com.au>:
> > So ideally I'd only want to check for EAGAIN on hppa architectures.  That
> > should be easy enough for me to detect at compile-time, however I don't have
> > a PA-RISC box handy to see how they identify themselves.
> >
> > If you do have one, could you give the output of:
> >
> >        perl -MConfig -le'print $Config{archanme}'
> 
> actually that's "archname" (and can be written more tersely as "perl
> -V:archname")
> Also, archname will contain other information (e.g. whether the perl
> has support for threads or not) so you need to test against the first
> component, which on Linux corresponds to the output of "uname -m".

Our build calls Configure with -Darchname=hppa-linux-gnu (the output of
$(dpkg-architecture -qDEB_BUILD_GNU_TYPE)), resulting in

 % perl -V:archname
 archname='hppa-linux-gnu-thread-multi';
 % uname -m
 parisc64

-- 
Niko Tyni   nt...@debian.org



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to