File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,9 @@ Some Windows capability is also included. One constraint in the cgo package is i
3535for path names containing spaces and special characters, which makes it tricky to
3636compile against a copy of MQ installed in the regular location. To build these packages I copied
3737<mq install >/tools/c/include and <mq install >/bin64 to be under a temporary directory, shown
38- in the CFLAGS and LDFLAGS directives.
38+ in the CFLAGS and LDFLAGS directives. This constraint seems to be removed
39+ in the Go 1.9 compiler; once that has reached a general availability level,
40+ I'll update this package to use standard MQ install paths.
3941
4042## Getting started
4143
Original file line number Diff line number Diff line change @@ -17,6 +17,10 @@ the particular MQRC or MQCC values.
1717The build directives for Windows assume the header and library files have
1818been copied to a temporary location, because the default paths are not
1919acceptable to Go (it does not like spaces or special characters like ~).
20+ Note: This problem appears to have been fixed in Go 1.9, and once that
21+ is fully available, the directives will be changed to a more reasonable
22+ path in this file. For example
23+ cgo windows CFLAGS -I"c:/Program Files/IBM/MQ/tools/c/include" -m64
2024
2125The build directives for Linux assume the default MQ installation path
2226in /opt/mqm. These would need to be changed in this file if you use a
You can’t perform that action at this time.
0 commit comments