Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to generate map file or symbol file on windows #24520

Closed
SeniorPlayer opened this issue Mar 25, 2018 · 2 comments
Closed

How to generate map file or symbol file on windows #24520

SeniorPlayer opened this issue Mar 25, 2018 · 2 comments

Comments

@SeniorPlayer
Copy link

On linux, I can use "go tool nm" to get symbol file.
But on windows, it returns an error "cmd/go: unsupported GOOS/GOARCH pair windows/386".
It seems like nm is not supported on windows.

@alexbrainman
Copy link
Member

@stillwarter it works for me:

c:\>go tool nm %GOROOT%\bin\go.exe | sed -n 1,10p
  90e9d4 T $f32.00000001
  90e9d8 T $f32.358637bd
  90e9dc T $f32.3f800000
  90e9e0 T $f32.4b189680
  90e9e4 T $f32.6258d727
  90e9e8 T $f32.7f800000
  90e9ec T $f32.80000000
  90e9f0 T $f32.80000001
  90e9f4 T $f32.cb189680
  90e9f8 T $f32.ff800000

c:\>

How can I reproduce your problem?

Alex

@SeniorPlayer
Copy link
Author

SeniorPlayer commented Mar 25, 2018

Thanks. It works. It looks my problem. I will close it.

@golang golang locked and limited conversation to collaborators Mar 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants