fixed finding a 64bit architecture on NetBSD/OpenBSD and FreeBSD #27

Merged
merged 3 commits into from Feb 21, 2014

Projects

None yet

3 participants

@gibas
Contributor
gibas commented Dec 21, 2012

fixed finding a 64bit architecture on NetBSD/OpenBSD and FreeBSD

@kaalis
kaalis commented Mar 26, 2013

There's also Mac PowerPCs. For example, uname -a output:

Darwin box.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:57:01 PDT 2009; root:xnu1228.15.4~1/RELEASE_PPC Power Macintosh

In sub check_architecture
[code]
elsif (uname =~ /Darwin/ && uname -m =~ /Power Macintosh/) {
$arch = 64;
goodprint "Operating on 64-bit architecture\n";
}
[/code]

@gibas gibas referenced this pull request May 24, 2013
Merged

Add darwin arch #32

@major major merged commit 1188149 into major:master Feb 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment