Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6876353
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T04:28:00+00:00 2026-05-27T04:28:00+00:00

I have installed Go from gomingw for windows 64 bit. However, I cannot find

  • 0

I have installed Go from gomingw for windows 64 bit. However, I cannot find out anywhere how to actually compile a .go file. This is the program linked directly from the Go wiki for Windows Support, but all the tutorials talk about using 6g and gccgo etc. and none of those work on my windows machine. Actually, what I am trying to do is, I put my “hello.go” in src folder and after going to src folder I run the command “8g hello.go” in command prompt. But. it showing error “open a.go no such file or directory”. Can anybody help me by providing correct steps to compile a go program in Windows? Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T04:28:01+00:00Added an answer on May 27, 2026 at 4:28 am

    Navigate to your source code directory (for example, C:\Arpsss), display the current directory, and display the current directory contents.

    C:\>cd C:\Arpssss
    C:\Arpssss>cd
    C:\Arpssss
    C:\Arpssss>dir
     Volume in drive C has no label.
     Directory of C:\Arpssss
    11/28/2011  10:26 AM    <DIR>          .
    11/28/2011  10:26 AM    <DIR>          ..
    11/28/2011  10:24 AM                73 hello.go
                   1 File(s)             73 bytes
                   2 Dir(s)   4,949,831,680 bytes free
    

    Try to compile a non-existent file named a.go.

    C:\Arpssss>8g a.go
    open a.go: No such file or directory
    

    This is the error you reported–you tried to compile a file named a.go that wasn’t in your current directory.

    Compile, link, and run the hello.go Go source file in the current directory.

    C:\Arpssss>8g hello.go
    C:\Arpssss>8l -o hello.exe hello.8
    C:\Arpssss>hello
    Hello, World!
    

    The hello.go program.

    package main
    
    import "fmt"
    
    func main() {
        fmt.Println("Hello, World!")
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have installed Xperf performance analyzer from Windows SDK and captured a trace as
I have installed StyleCop CheckIn policy (from here ) and it works great. However
I have a following problems with eclipse, when I installed ClearCase plugin from this
I have GIT running on a Solaris server. From a windows machine I installed
I have installed python from .msi installer in windows and installed a lot of
I have installed a windows application, whose configuration settings come from a GPO (User
I'm trying to run genhtml using perl.exe from Cygwin in Windows. I have installed
I have installed svn console client from these binaries - http://subversion.tigris.org/getting.html#windows - 1.5.6, 1.6.4,
I have installed a package from .rpm file and it is stored in /opt
I have installed Mercurial from the Ubuntu package repository. However I don't know how

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.