9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Jag Talon" <jag@jagtalon.com>
To: 9fans@9fans.net
Subject: [9fans] Trouble compiling "Hello, world"
Date: Mon, 01 Aug 2022 16:41:23 -0400	[thread overview]
Message-ID: <8bd4b2b9-fdf6-424e-b4d5-cb9213c3de78@www.fastmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 723 bytes --]

Hello,

New Plan 9 user here from the SDF bootcamp! I'm trying to follow a basic hello world tutorial on http://sdf.org/?tutorials/Plan_9_C but I'm running into issues with compiling and linking with 8c and 8l.  What is causing a "exec header invalid" on such a basic program? I have the commands that I typed in the screenshot.

Switching to 6c and 6l doesn't seem to work either I'm getting when I run 6l: ??none??: cannot open file: /amd64/lib/libc.a

Any advice is appreciated. Thanks!
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Te178b97d94173ff8-M708b609c9f7e34eab51663e0
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2.1: Type: text/html, Size: 1737 bytes --]

[-- Attachment #2.2: screenshot-summer-2022.png --]
[-- Type: image/png, Size: 48732 bytes --]

             reply	other threads:[~2022-08-01 20:42 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-01 20:41 Jag Talon [this message]
2022-08-01 21:02 ` Jacob Moody
2022-08-01 21:18   ` Jag Talon
2022-08-01 21:48     ` Jacob Moody
2022-08-01 22:51       ` Skip Tavakkolian
2022-08-01 22:53         ` Skip Tavakkolian
2022-08-01 23:44           ` Jag Talon
2022-08-02  1:11             ` LdBeth
2022-08-02  1:32             ` Thaddeus Woskowiak
2022-08-02  2:16               ` Jag Talon
2022-08-02  3:38                 ` Lucio De Re
2022-08-02  3:44                   ` Kurt H Maier via 9fans
2022-08-02  3:56                     ` Lucio De Re
2022-08-02  5:45                       ` Clout Tolstoy
2022-08-02  9:05                         ` Lucio De Re
2022-08-02  5:40                   ` sirjofri

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=8bd4b2b9-fdf6-424e-b4d5-cb9213c3de78@www.fastmail.com \
    --to=jag@jagtalon.com \
    --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).