Re: [go-nuts] Re: Running golang compiled binary on QNX

2019-09-09 Thread Adrian Petrescu

On 09/09 11:30AM, scab...@gmail.com wrote:

It's been at least 18 months since this question was asked. Has anything
changed?


On Tuesday, January 30, 2018 at 4:44:42 PM UTC-5, sbez...@cisco.com wrote:


Hello,

I was wondering if anybody managed to get golang compiled binary to run on
32-bit QNX?

I compiled it with  GOARCH=386 GOOS=linux go build -o blah


I might be missing some context here, but why would you expect a binary
compiled for Linux to run unaided on QNX? They're two completely
different operating systems.

[This issue](https://github.com/golang/go/issues/23633) seems to confirm
that there's no special compatibility layer that would allow this to
work.


--
Adrian

--
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/20190910005929.wpu7m5ibtthbcfub%40coxeter.


Re: [go-nuts] Re: Running golang compiled binary on QNX

2019-09-11 Thread scabooz
Right. I could have my question better. The real question is whether there 
is any hope of QNX support in go. It's no surprise that a GOARCH=386 
GOOS=linux binary would not work.

On Monday, September 9, 2019 at 10:30:06 PM UTC-4, Adrian Petrescu wrote:
>
> On 09/09 11:30AM, sca...@gmail.com  wrote:
>
>> It’s been at least 18 months since this question was asked. Has anything 
>> changed?
>>
>> On Tuesday, January 30, 2018 at 4:44:42 PM UTC-5, sbez…@cisco.com wrote:
>>
>>> Hello,
>>>
>>> I was wondering if anybody managed to get golang compiled binary to run 
>>> on 32-bit QNX?
>>>
>>> I compiled it with GOARCH=386 GOOS=linux go build -o blah
>>>
>> I might be missing some context here, but why would you expect a binary 
> compiled for Linux to run unaided on QNX? They’re two completely different 
> operating systems.
>
> This issue  seems to confirm 
> that there’s no special compatibility layer that would allow this to work.
>
> – Adrian
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/0c3d5288-2b02-4935-bb8c-a6903279d832%40googlegroups.com.


Re: [go-nuts] Re: Running golang compiled binary on QNX

2019-09-11 Thread Ian Lance Taylor
On Wed, Sep 11, 2019 at 6:18 AM  wrote:
>
> Right. I could have my question better. The real question is whether there is 
> any hope of QNX support in go. It's no surprise that a GOARCH=386 GOOS=linux 
> binary would not work.

I don't see anything that would make it impossible to port Go to
support QNX.  So in that sense there is hope.

But to the best of my knowledge nobody is working on a QNX port and
nobody has ever expressed any interest in working on one.  It would
not be a simple job.

Ian

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAOyqgcVs8dkZgnpJZeJ6vBB%3DN%2BC_vj0GYyb69T7uFBC%3DUMGQQg%40mail.gmail.com.


Re: [go-nuts] Re: Running golang compiled binary on QNX

2019-09-12 Thread Wojciech S. Czarnecki
On Wed, 11 Sep 2019 05:45:18 -0700 (PDT)
scab...@gmail.com wrote:

> Right. I could have my question better. 

> The real question is whether there is any hope of QNX support in go.

If you work for a company that pays a few million bucks yearly for qnx licenses
AFAIK BlackBerry will be happy to do the Go port for your employer.

Hope this helps,

-- 
Wojciech S. Czarnecki
 << ^oo^ >> OHIR-RIPE

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/20190912191800.04ec51f9%40zuzia.