9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Aram Hăvărneanu" <aram.h@mgk.ro>
To: 9fans <9fans@9fans.net>
Subject: [9fans] Plan9port file(1) fails to detect OS X binaries
Date: Thu, 22 Aug 2013 22:19:33 +0300	[thread overview]
Message-ID: <CAEAzY3__7ueZD6gM=Vs4B-TsLm=X9dN7eCCcS_EknnHcdbKK2g@mail.gmail.com> (raw)

P9p file(1) fails to recognise 64-bit Mach-O binaries (thus breaking
things like src(1) and friends). I don't know if it ever worked right.

  : iridium:aram; uname -a
  Darwin iridium 12.4.0 Darwin Kernel Version 12.4.0: Wed May  1
17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64 x86_64
  : iridium:aram;
  : iridium:aram; gcc -v
  Using built-in specs.
  Target: i686-apple-darwin11
  Configured with:
/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/src/configure
--disable-checking --enable-werror
--prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2
--mandir=/share/man --enable-languages=c,objc,c++,obj-c++
--program-prefix=llvm-
--program-transform-name=/^[cg][^.-]*$/s/$/-4.2/
--with-slibdir=/usr/lib --build=i686-apple-darwin11
--enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/dst-llvmCore/Developer/usr/local
--program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11
--target=i686-apple-darwin11
--with-gxx-include-dir=/usr/include/c++/4.2.1
  Thread model: posix
  gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
  : iridium:aram;
  : iridium:aram; which sam
  /Users/aram/plan9/bin/sam
  : iridium:aram;
  : iridium:aram; 9 file /Users/aram/plan9/bin/sam
  /Users/aram/plan9/bin/sam: as program
  : iridium:aram; file /Users/aram/plan9/bin/sam
  /Users/aram/plan9/bin/sam: Mach-O 64-bit executable x86_64
  : iridium:aram;

-- 
Aram Hăvărneanu



             reply	other threads:[~2013-08-22 19:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-22 19:19 Aram Hăvărneanu [this message]
2013-08-22 19:57 ` Anthony Sorace

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAEAzY3__7ueZD6gM=Vs4B-TsLm=X9dN7eCCcS_EknnHcdbKK2g@mail.gmail.com' \
    --to=aram.h@mgk.ro \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).