Re: [go-nuts] go.mod: 1: module: not found

2021-02-02 Thread saurav deshpande
Okay, will try with a different approach Thank you On Wed, 3 Feb, 2021, 1:43 am Ian Lance Taylor, wrote: > On Tue, Feb 2, 2021 at 11:16 AM saurav deshpande > wrote: > > > > I tried by giving the module name as pathname by pushing the code to git > and created go.mod using

Re: [go-nuts] go.mod: 1: module: not found

2021-02-02 Thread saurav deshpande
I tried by giving the module name as pathname by pushing the code to git and created go.mod using that path, but still gives the same error. Thank you On Tuesday, February 2, 2021 at 5:33:27 AM UTC+5:30 Ian Lance Taylor wrote: > On Mon, Feb 1, 2021 at 1:42 PM saurav deshpande >

Re: [go-nuts] go.mod: 1: module: not found

2021-02-01 Thread saurav deshpande
it just contains: module babyLotus go 1.15 On Tuesday, February 2, 2021 at 3:04:39 AM UTC+5:30 Ian Lance Taylor wrote: > On Mon, Feb 1, 2021 at 11:24 AM saurav deshpande > wrote: > > > > We have a go.mod file. > > The same make file worked with go 1.9.7 version, it di

Re: [go-nuts] go.mod: 1: module: not found

2021-02-01 Thread saurav deshpande
On Mon, Feb 1, 2021 at 10:35 AM saurav deshpande > wrote: > > > > Hello, I am trying to run a make file but it gives me the following > error: > > go.mod: 1: module: not found > > go 1.15: unknown command > > ... > > > go.o: > > @mkdir -p $(

[go-nuts] go.mod: 1: module: not found

2021-02-01 Thread saurav deshpande
Hello, I am trying to run a make file but it gives me the following error: *go.mod: 1: module: not found* *go 1.15: unknown command* here is the make file: OS = $(shell uname -s) ARCH := x86 BUILD_DIR := build BUILD_ABS_DIR := $(CURDIR)/$(BUILD_DIR) export SHELL := /bin/bash -o pipefail LD :=

Re: [go-nuts] Re: implementing macro in plan 9 assembly

2020-10-16 Thread saurav deshpande
to compile and is probably preferable, > but needs a bit of learning. > > *Joop Kiefte* - Chat @ Spike > <https://spikenow.com/r/a/?ref=spike-organic-signature&_ts=q9zcd> > [image: q9zcd] > > On October 16, 2020 at 12:30 GMT, saurav deshpande < > saurav

Re: [go-nuts] Re: implementing macro in plan 9 assembly

2020-10-16 Thread saurav deshpande
t the Go > assembly is not actually Plan 9 assembly, it's an abstraction by itself, > meant for internal use first and foremost. > > *Joop Kiefte* - Chat @ Spike > <https://spikenow.com/r/a/?ref=spike-organic-signature&_ts=q9y39> [image: > q9y39] > > On

[go-nuts] Re: implementing macro in plan 9 assembly

2020-10-16 Thread saurav deshpande
k you. On Friday, October 16, 2020 at 12:07:23 AM UTC+5:30 al...@pbrane.org wrote: > saurav deshpande once said: > > How to implement macro in plan9 assembly? I read the documentation of > > plan9 assembly but could not find it. Is there any alternative for > > macro in pl

[go-nuts] implementing macro in plan 9 assembly

2020-10-15 Thread saurav deshpande
How to implement macro in plan9 assembly? I read the documentation of plan9 assembly but could not find it. Is there any alternative for macro in plan9? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop re

Re: [go-nuts] loadinternal: cannot find runtime/cgo

2020-09-25 Thread saurav deshpande
I will try to install it again. Thank you [saurav deshpande - Chat @ Spike](https://spikenow.com/r/a/?ref=spike-organic-signature&_ts=p6sjx) [p6sjx] On September 25, 2020 at 8:41 GMT, saurav deshpande wrote: Okay [saurav deshpande - Chat @ Spike](https://spikenow.com/r/a/?ref=s

Re: [go-nuts] loadinternal: cannot find runtime/cgo

2020-09-25 Thread saurav deshpande
Okay [saurav deshpande - Chat @ Spike](https://spikenow.com/r/a/?ref=spike-organic-signature&_ts=p6si4) [p6si4] On September 25, 2020 at 8:40 GMT, Joop Kiefte wrote: So I suspect then that some environment variables are not configured correctly -- the problem from the errors is

Re: [go-nuts] loadinternal: cannot find runtime/cgo

2020-09-25 Thread saurav deshpande
Tried with that but got same results On Friday, September 25, 2020 at 1:21:00 PM UTC+5:30 b.ca...@pobox.com wrote: > I think he meant "really old", like go 1.8 (which was the version that the > author of that project used). > -- You received this message because you are subscribed to the Goo

Re: [go-nuts] loadinternal: cannot find runtime/cgo

2020-09-24 Thread saurav deshpande
ure&_ts=p5hhg> [image: > p5hhg] > > On September 24, 2020 at 15:30 GMT, saurav deshpande < > saurav.des...@gmail.com> wrote: > > > https://github.com/achilleasa/bare-metal-gophers > Downloaded the source code from above link > Tried running the make fi

[go-nuts] loadinternal: cannot find runtime/cgo

2020-09-24 Thread saurav deshpande
https://github.com/achilleasa/bare-metal-gophers Downloaded the source code from above link Tried running the make file but get the error of *cannot find runtime/cgo.* *Version: 1.15 linux os* Please guide. Thank you -- You received this message because you are subscribed to the Google Groups

[go-nuts] Not able to run the make file of the go bare bones by achilleasa.

2020-09-20 Thread saurav deshpande
I downloaded the code from this link: https://github.com/achilleasa/bare-metal-gophers which was presented by achilleasa but when I run the make file it gives this error: *[go] compiling go sources into a standalone .o file | loadinternal: cannot find runtime/cgo | /usr/bin/ld: warning: cannot fi

Re: [go-nuts] Re: Using go build to cross compile a kernel file and link it to the loader

2020-08-30 Thread saurav deshpande
intellectual exercise. >> Look at https://github.com/ycoroneos/G.E.R.T >> Or https://github.com/f-secure-foundry/tamago >> Or read >> https://speakerdeck.com/achilleasa/bare-metal-gophers-can-you-write-an-os-kernel-in-go >> >> It is quite a bit of work.

[go-nuts] Using go build to cross compile a kernel file and link it to the loader

2020-08-29 Thread saurav deshpande
Hello, I was trying to write a basic kernel in golang. Before actually implementing anything in the kernel.go file I wanted to see how go build cross compiler can be used. I am currently using : *go version go1.15* *linux/amd64* I wrote 3 files: a *loader* (*boot.asm*)file, a *linker(linker.ld)

[go-nuts] using go build for compiling go source code into object files

2020-08-13 Thread saurav deshpande
I have been trying to develop a basic kernel in golang, few problems I have faced are: 1. not able to use go cross compiler for compiling desired object file. I tried setting goarch and goos but it doesnt work for me. 2. I want to use sturctures and interfaces but dont know how should i use t