[go-nuts] Cross compiling with CGO without having a C compiler for each target platform

2020-02-26 Thread Jan Flyborg
We are building a system that targets many different combinations of OS's and architectures. Up until now we have been able to keep the whole code base and external packages in pure Go (no CGO), which means that the cross compiler functionality of GC has been sufficient for us. However, recent

Re: [go-nuts] Cross compiling with CGO without having a C compiler for each target platform

2020-02-26 Thread Robert Engels
Depending on your use of SQLite there are a few pure Go libraries that might simplify things. > On Feb 26, 2020, at 9:11 AM, Jan Flyborg wrote: > >  > We are building a system that targets many different combinations of OS's and > architectures. > > Up until now we have been able to keep th

Re: [go-nuts] Cross compiling with CGO without having a C compiler for each target platform

2020-02-26 Thread Sebastien Binet
On Wed, Feb 26, 2020 at 6:34 PM Robert Engels wrote: > Depending on your use of SQLite there are a few pure Go libraries that > might simplify things. > such as: - https://github.com/go-sqlite/sqlite3 (incomplete) - https://github.com/alicebob/sqlittle (much more complete) (I am the original au

Re: [go-nuts] Cross compiling with CGO without having a C compiler for each target platform

2020-02-26 Thread Ian Lance Taylor
On Wed, Feb 26, 2020 at 7:07 AM Jan Flyborg wrote: > > We are building a system that targets many different combinations of OS's and > architectures. > > Up until now we have been able to keep the whole code base and external > packages in pure Go (no CGO), which means that the cross compiler >