Skip to content
Advertisement

Tag: darwin

Linux layer on macOS [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question

BASH / sed – not giving same output for simple sed commands

Box 1: uname -srm Box 2: uname -srm; cat /etc/debian_version BASH on box1 is: GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin16) BASH on box2 is: GNU bash, version 4.3.11(1)-release (x86_64-pc-linux-gnu) On both boxes, I’m have the following script: All commands are same. This is what I’m trying to do: On box1: When I’m running the script with arguments: aa1, aa3,aa2 aa1 ,

Cross-compilation of cgo (for darwin) fails

I am fairly new to go and even Linux in general. I have built an app in a Linux environment which makes use of a gtk lib based on cgo (https://github.com/mattn/go-gtk/). The application builds fine in its native environment (linux 64bit) but when I try to compile for darwin 64bit I get the following result: The command line I use

Advertisement