9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Compiling C under 9front
@ 2013-12-16  1:31 Blake McBride
  2013-12-16  1:33 ` erik quanstrom
  2013-12-16  2:04 ` Matthew Veety
  0 siblings, 2 replies; 6+ messages in thread
From: Blake McBride @ 2013-12-16  1:31 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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

Greetings,

I've got 9front running but I am having trouble compiling a hello.c program.

term% 6c hello.c
term% 6l hello.6
??none??: cannot open file: /amd64/lib/libc.a

I already looked in google, the email list, and FAQ's that I could find.
 Your help is appreciated.

Blake McBride

[-- Attachment #2: Type: text/html, Size: 1295 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] Compiling C under 9front
  2013-12-16  1:31 [9fans] Compiling C under 9front Blake McBride
@ 2013-12-16  1:33 ` erik quanstrom
  2013-12-16  1:45   ` Blake McBride
  2013-12-16  2:04 ` Matthew Veety
  1 sibling, 1 reply; 6+ messages in thread
From: erik quanstrom @ 2013-12-16  1:33 UTC (permalink / raw)
  To: 9fans

On Sun Dec 15 20:31:47 EST 2013, blake@mcbride.name wrote:

> Greetings,
>
> I've got 9front running but I am having trouble compiling a hello.c program.
>
> term% 6c hello.c
> term% 6l hello.6
> ??none??: cannot open file: /amd64/lib/libc.a
>
> I already looked in google, the email list, and FAQ's that I could find.
>  Your help is appreciated.

cd /sys/src; objtype=amd64 mk libs

- erik



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] Compiling C under 9front
  2013-12-16  1:33 ` erik quanstrom
@ 2013-12-16  1:45   ` Blake McBride
  2013-12-16  1:47     ` erik quanstrom
  0 siblings, 1 reply; 6+ messages in thread
From: Blake McBride @ 2013-12-16  1:45 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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

On Sun, Dec 15, 2013 at 7:33 PM, erik quanstrom <quanstro@labs.coraid.com>wrote:

> On Sun Dec 15 20:31:47 EST 2013, blake@mcbride.name wrote:
>
> > Greetings,
> >
> > I've got 9front running but I am having trouble compiling a hello.c
> program.
> >
> > term% 6c hello.c
> > term% 6l hello.6
> > ??none??: cannot open file: /amd64/lib/libc.a
> >
> > I already looked in google, the email list, and FAQ's that I could find.
> >  Your help is appreciated.
>
> cd /sys/src; objtype=amd64 mk libs
>
> - erik
>
>
Thanks!  It went through a bunch of compiles and library adds
successfullybut ended in:

...
a - utfutf.6
a - u16.6
a - u32.6
a - u64.6
amd64
Can't cd amd64: 'amd64' directory not found
mk: for(i in 9sys ... : exit status=rc 1544: rc 2737: can't cd
mk: date for (i ...  : exit status=rc 1058: rc 1477: mk 1543: error
term%

[-- Attachment #2: Type: text/html, Size: 4607 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] Compiling C under 9front
  2013-12-16  1:45   ` Blake McBride
@ 2013-12-16  1:47     ` erik quanstrom
  0 siblings, 0 replies; 6+ messages in thread
From: erik quanstrom @ 2013-12-16  1:47 UTC (permalink / raw)
  To: blake, 9fans

> Thanks!  It went through a bunch of compiles and library adds
> successfullybut ended in:
>
> ...
> a - utfutf.6
> a - u16.6
> a - u32.6
> a - u64.6
> amd64
> Can't cd amd64: 'amd64' directory not found
> mk: for(i in 9sys ... : exit status=rc 1544: rc 2737: can't cd
> mk: date for (i ...  : exit status=rc 1058: rc 1477: mk 1543: error

if you want amd64, you'll have to use 9atom.

- erik



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] Compiling C under 9front
  2013-12-16  1:31 [9fans] Compiling C under 9front Blake McBride
  2013-12-16  1:33 ` erik quanstrom
@ 2013-12-16  2:04 ` Matthew Veety
  2013-12-16  6:00   ` erik quanstrom
  1 sibling, 1 reply; 6+ messages in thread
From: Matthew Veety @ 2013-12-16  2:04 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Use 8c. Amd64 isn't supported yet.

> On Dec 15, 2013, at 20:31, Blake McBride <blake@mcbride.name> wrote:
> 
> Greetings,
> 
> I've got 9front running but I am having trouble compiling a hello.c program.
> 
> term% 6c hello.c
> term% 6l hello.6
> ??none??: cannot open file: /amd64/lib/libc.a
> 
> I already looked in google, the email list, and FAQ's that I could find.  Your help is appreciated.
> 
> Blake McBride
> 



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] Compiling C under 9front
  2013-12-16  2:04 ` Matthew Veety
@ 2013-12-16  6:00   ` erik quanstrom
  0 siblings, 0 replies; 6+ messages in thread
From: erik quanstrom @ 2013-12-16  6:00 UTC (permalink / raw)
  To: mveety, 9fans

On Sun Dec 15 21:05:43 EST 2013, mveety@gmail.com wrote:
> Use 8c. Amd64 isn't supported yet.
>
> > On Dec 15, 2013, at 20:31, Blake McBride <blake@mcbride.name> wrote:
> >
> > Greetings,
> >
> > I've got 9front running but I am having trouble compiling a hello.c program.
> >
> > term% 6c hello.c
> > term% 6l hello.6
> > ??none??: cannot open file: /amd64/lib/libc.a
> >
> > I already looked in google, the email list, and FAQ's that I could find.  Your help is appreciated.

to be more specific, amd64 is supported on 9atom.  in fact, it's
used almost exclusively.  you'll have to check with anybody else for their support.

- erik



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-12-16  6:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-16  1:31 [9fans] Compiling C under 9front Blake McBride
2013-12-16  1:33 ` erik quanstrom
2013-12-16  1:45   ` Blake McBride
2013-12-16  1:47     ` erik quanstrom
2013-12-16  2:04 ` Matthew Veety
2013-12-16  6:00   ` erik quanstrom

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).