Thanks this is what I was looking for
On Tuesday, July 18, 2017 at 1:14:54 PM UTC-7, Ian Lance Taylor wrote:
>
> On Tue, Jul 18, 2017 at 12:52 PM,
> wrote:
> >
> > If I've already compiled my golang package, I'll have files in my /bin/
> and
> > /pkg/linux_amd64
If I've already compiled my golang package, I'll have files in my /bin/ and
/pkg/linux_amd64 folders. Is there a way I can run the compiled binary
without have to compile the code first (go run) ?
--
You received this message because you are subscribed to the Google Groups
"golang-nuts"
awesome go install is working :) thanks so much!
On Monday, June 26, 2017 at 12:06:17 AM UTC-7, Ian Lance Taylor wrote:
>
> On Sun, Jun 25, 2017 at 9:34 PM,
> wrote:
> > Thanks, my gcc and g++ versions were indeed different. I've set them
> both to
> > 4.8 now and the
Thanks, my gcc and g++ versions were indeed different. I've set them both
to 4.8 now and the -no-pie error has gone away.
I'm seeing warnings from "go build" command regarding syntax in the c++
library - if they are just warnings, would go install continue with placing
output files in the
go version go1.7.4 linux/amd64
The link you're referring to is an issue with the LANG env variable; mine
is set to LANG=en_US.UTF-8 which the OP mentioned go build succeeds with
On Friday, June 23, 2017 at 2:43:11 PM UTC-7, Ian Lance Taylor wrote:
>
> On Fri, Jun 23, 2017 at 2:09 PM,
Got past that error now :) was missing a space between multiple -I
On Friday, June 23, 2017 at 2:08:59 PM UTC-7, Sebastien Binet wrote:
>
>
>
> On Fri, Jun 23, 2017 at 10:53 PM,
> wrote:
>
>> Thanks. My .go file contains just the following:
>>
>> package mypackage
>> //
Hi, I'm trying to wrap a c++ library with swig to be called by Go.
I've gotten "go build" to run up to the point to where I get the error:
g++-4.8: error: unrecognized command line option '-no-pie'
The library I'm using is only supported up to g++ 4.8. Is there any way
around this command?
--
Thanks. My .go file contains just the following:
package mypackage
// #cgo CXXFLAGS: -I/usr/folder/subfolder
import "C"
and when I do "go build" or "go build -x" I get an error that the #include
library i'm using is not found. has anyone run into this before?
On Friday, June 23, 2017 at
Could someone elaborate how the CXXFLAGS will look in the .go file?
Is it like
// #cgo CXXFLAGS: -I/
On Thursday, April 13, 2017 at 4:35:54 PM UTC-7, larry104 wrote:
>
>
>>
>> CXXFLAGS
>>
>> See https://golang.org/cmd/cgo .
>>
>> Ian
>>
>
> Cool - that works now like a charm - so much
Hi,
I'm using go version 1.7.4 on linux/amd64 and trying to run go build on a
.swigcxx file. I also have a .go file that has the package name and string:
import "C"
package mdm
import "C"
My .swigcxx file is trying to include a library and methods from this
library:
%module mdm
${
10 matches
Mail list logo