On Wednesday, April 3, 2019 at 1:00:24 PM UTC-4, Ian Lance Taylor wrote:
>
> On Wed, Apr 3, 2019 at 8:30 AM T L >
> wrote:
> >
> > Assume I have a .go soruce file like:
> >
> > /*
> > #cgo LDFLAGS: -L${SRCDIR}/lib/static/linux/amd64 -lmylib
> > ... // more flags
> > */
> > import "C"
>
On Wed, Apr 3, 2019 at 8:30 AM T L wrote:
>
> Assume I have a .go soruce file like:
>
> /*
> #cgo LDFLAGS: -L${SRCDIR}/lib/static/linux/amd64 -lmylib
> ... // more flags
> */
> import "C"
>
> ... // many cross-platform Go code lines
>
>
> Now, It compiles ok on Linux AMD64 platform.
>
> There are
Assume I have a .go soruce file like:
/*
#cgo LDFLAGS: -L${SRCDIR}/lib/static/linux/amd64 -lmylib
... // more flags
*/
import "C"
... // many cross-platform Go code lines
Now, It compiles ok on Linux AMD64 platform.
There are several library files under different subfolders of