Re: [9fans] Trouble compiling "Hello, world"

2022-08-02 Thread Lucio De Re
On 8/2/22, Clout Tolstoy wrote: > Years ago I worked at a non-profit called FreeGeek (in Portland, Oregon > USA) . We used to do grants for computers and sent some over to Uganda, > amongst other places. I'm not sure of their current status on their grant, > but it could be worth a shot. You migh

Re: [9fans] Trouble compiling "Hello, world"

2022-08-01 Thread Clout Tolstoy
Years ago I worked at a non-profit called FreeGeek (in Portland, Oregon USA) . We used to do grants for computers and sent some over to Uganda, amongst other places. I'm not sure of their current status on their grant, but it could be worth a shot. You might be able to get the hardware for free, a

Re: [9fans] Trouble compiling "Hello, world"

2022-08-01 Thread sirjofri
02.08.2022 05:38:39 Lucio De Re : Perhaps it's a delusion, but I keep hoping to find a way to wean a young community (black secondary education learners with much time on their hands and very little beyond their smartphones to entertain them) away from Tik-Tok, possibly also Whatsapp. SDF boot

Re: [9fans] Trouble compiling "Hello, world"

2022-08-01 Thread LdBeth
Can you check `ns | grep amd64' to confirm if you have bind some other directory to /amd64? Because I've just checked on 9p.sdf.org and libc.a is in there. --- LDB -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Te178b97d94173ff8-M432a7

Re: [9fans] Trouble compiling "Hello, world"

2022-08-01 Thread Lucio De Re
Thank, Kurt. The SDF home page no doubt needs a small fix. That is a lot of information and seems the product of much effort. I'll find some time to assimilate it, see if there is anything I can contribute. Lucio. On 8/2/22, Kurt H Maier via 9fans <9fans@9fans.net> wrote: > On Tue, Aug 02, 2022

Re: [9fans] Trouble compiling "Hello, world"

2022-08-01 Thread Kurt H Maier via 9fans
On Tue, Aug 02, 2022 at 05:38:39AM +0200, Lucio De Re wrote: > It's a shame that the SDF wiki > (https://wiki.sdf.org/doku.php?id=vps_-_plan_9_9front) returns a > missing page. Looks like it just got moved: https://wiki.sdf.org/doku.php?id=plan_9_9front khm --

Re: [9fans] Trouble compiling "Hello, world"

2022-08-01 Thread Lucio De Re
It's a shame that the SDF wiki (https://wiki.sdf.org/doku.php?id=vps_-_plan_9_9front) returns a missing page. I was hoping to find some way to help that does not involve a financial contribution. Perhaps it's a delusion, but I keep hoping to find a way to wean a young community (black secondary ed

Re: [9fans] Trouble compiling "Hello, world"

2022-08-01 Thread Jag Talon
Thanks all! Got it solved with the folks at SDF (thanks, smj!) On Mon, Aug 1, 2022, at 9:32 PM, Thaddeus Woskowiak wrote: > > it's a shared system that I didn't install myself. > > How are you connecting and interacting? > On Mon, Aug 1, 2022 at 7:47 PM Jag Talon wrote: > > > > Thank you Skip an

Re: [9fans] Trouble compiling "Hello, world"

2022-08-01 Thread Thaddeus Woskowiak
> it's a shared system that I didn't install myself. How are you connecting and interacting? On Mon, Aug 1, 2022 at 7:47 PM Jag Talon wrote: > > Thank you Skip and Jacob I'm running a Plan 9 instance through the SDF > Bootcamp so it's a shared system that I didn't install myself. I'll make sure

Re: [9fans] Trouble compiling "Hello, world"

2022-08-01 Thread Jag Talon
Thank you Skip and Jacob I'm running a Plan 9 instance through the SDF Bootcamp so it's a shared system that I didn't install myself. I'll make sure to reach out to the admins because trying to run `mk install` in /sys/src/libc is giving me permission errors. On Mon, Aug 1, 2022, at 6:53 PM, S

Re: [9fans] Trouble compiling "Hello, world"

2022-08-01 Thread Skip Tavakkolian
in /sys/src On Mon, Aug 1, 2022 at 3:51 PM Skip Tavakkolian wrote: > generally it's a good idea to rebuild and install changes for all > architectures in your network. > something like: > for (i in (386 arm amd64 riscv mips)) { > objtype=$i mk install > } > > > On Mon, Aug 1, 2022 at 2:50 PM Ja

Re: [9fans] Trouble compiling "Hello, world"

2022-08-01 Thread Skip Tavakkolian
generally it's a good idea to rebuild and install changes for all architectures in your network. something like: for (i in (386 arm amd64 riscv mips)) { objtype=$i mk install } On Mon, Aug 1, 2022 at 2:50 PM Jacob Moody wrote: > On 8/1/22 15:18, Jag Talon wrote: > > Ah thanks for the tip. I ra

Re: [9fans] Trouble compiling "Hello, world"

2022-08-01 Thread Jacob Moody
On 8/1/22 15:18, Jag Talon wrote: > Ah thanks for the tip. I ran `echo $objtype` and it says amd64. I believe 6c > is the compiler that I need but it seems to say another error: `??none??: > cannot open file: /amd64/lib/libc.a` It's telling you exactly what is wrong, you are missing an amd64 lib

Re: [9fans] Trouble compiling "Hello, world"

2022-08-01 Thread Jag Talon
Ah thanks for the tip. I ran `echo $objtype` and it says amd64. I believe 6c is the compiler that I need but it seems to say another error: `??none??: cannot open file: /amd64/lib/libc.a` On Mon, Aug 1, 2022, at 5:02 PM, Jacob Moody wrote: > You would get that if you are using the wrong compile

Re: [9fans] Trouble compiling "Hello, world"

2022-08-01 Thread Jacob Moody
You would get that if you are using the wrong compilers for your architecture. Check the output of $objtype, unless it's 386 you're using the wrong compilers. 2c(1) should have the full list of compilers. -- moody -- 9fans: 9fans Permalink: https://9fans.

[9fans] Trouble compiling "Hello, world"

2022-08-01 Thread Jag Talon
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