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

Can't build 32-bit #22

Open
mnishizawa opened this issue Dec 21, 2016 · 0 comments
Open

Can't build 32-bit #22

mnishizawa opened this issue Dec 21, 2016 · 0 comments

Comments

@mnishizawa
Copy link

mnishizawa commented Dec 21, 2016

Trying to cross compile on a 64 bit windows machine to 32 bit. I'm using the tdm-gcc 32 bit compiler.

So my env is:
GOARCH=386
CGO_LDFLAGS=-lodbc32

When I try to build it gives me an error that I don't get when I compile for 64 bit:
main.go:16: undefined: odbc.Connect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant