<pre class="notranslate">go-gtk is worked well on 1.2 but can't build on 1.3

See <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="36477941" data-permission-text="Title is private" data-url="https://github.com/mattn/go-gtk/issues/210" data-hovercard-type="issue" data-hovercard-url="/mattn/go-gtk/issues/210/hovercard" href="https://github.com/mattn/go-gtk/issues/210">mattn/go-gtk#210</a>

It seems that mismatch native types and cgo-generated types.</pre>
<p dir="auto">by <strong>elazarl</strong>:</p>
<pre class="notranslate">When compiling go env.bash makes sure /usr/bin and /bin will always be before the
original path.

How should you compile go if you happen to have gcc in /opt/gcc-4.6.0/bin? Setting
CC=/opt/gcc-4.6.0/bin/gcc won't help since cgo won't use it. What if you want to use the
bison program in ~/bison/bin, since the bison installation on the machine is dated?

Attached a patch that prepends the alternate paths of $CC as (which will mark the path
of the entire binutils) and bison, before /bin and /usr/bin if needed.</pre>
<p dir="auto">Attachments:</p>
<ol dir="auto">
<li><a href="https://storage.googleapis.com/go-attachment/1946/0/env.bash.patch" rel="nofollow">env.bash.patch</a> (580 bytes)</li>
</ol>