FAQ
The following may be the latest news about the gccgo on mac I got in this
mailing list..

Does anyone succeed to use gccgo on mac os?

Thanks
On Friday, February 26, 2010 1:51:06 PM UTC-5, Ian Lance Taylor wrote:

Magnus Lie Hetland <mag...@hetland.org <javascript:>> writes:
/var/folders/lR/lRDTtEI1HKOiIYTfPqUtg++++TI/-Tmp-//ccd3jIYs.s:
31:Expected comma after segment-name
/var/folders/lR/lRDTtEI1HKOiIYTfPqUtg++++TI/-Tmp-//ccd3jIYs.s:31:Rest
of line ignored. 1st junk character valued 32 ( ).
/var/folders/lR/lRDTtEI1HKOiIYTfPqUtg++++TI/-Tmp-//ccd3jIYs.s:31:Junk
character 92 (\).
/var/folders/lR/lRDTtEI1HKOiIYTfPqUtg++++TI/-Tmp-//ccd3jIYs.s:31:Rest
of line ignored. 1st junk character valued 49 (1).
Magnus sent me the .s file offline. The problem here is deeper than I
thought. These errors are coming from the generation of the export
data. Currently gccgo just dumps the export data into a .go_export
section. However, it appears that Mach-O doesn't work like ELF in
that you can just dump data into an arbitrary section. This is going
to require some work on both the export and the import side to make
gccgo work on OS X.

In short, gccgo is not ready for OS X. This is not something I am
likely to tackle any time soon. If anybody is interested in working
on this, I can provide some pointers.

Sorry for the bad news.

Ian
--

Search Discussions

  • Peter S at Sep 26, 2012 at 3:29 am
    It seems that this is still not resolved.
    You can follow the status here:
    http://code.google.com/p/go/issues/detail?id=463
    http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46986

    Peter

    On Wed, Sep 26, 2012 at 11:29 AM, Robert Sandra wrote:

    The following may be the latest news about the gccgo on mac I got in this
    mailing list..

    Does anyone succeed to use gccgo on mac os?

    Thanks
    On Friday, February 26, 2010 1:51:06 PM UTC-5, Ian Lance Taylor wrote:

    Magnus Lie Hetland <mag...@hetland.org> writes:
    /var/folders/lR/**lRDTtEI1HKOiIYTfPqUtg++++TI/-**Tmp-//ccd3jIYs.s:
    31:Expected comma after segment-name
    /var/folders/lR/**lRDTtEI1HKOiIYTfPqUtg++++TI/-**
    Tmp-//ccd3jIYs.s:31:Rest
    of line ignored. 1st junk character valued 32 ( ).
    /var/folders/lR/**lRDTtEI1HKOiIYTfPqUtg++++TI/-**
    Tmp-//ccd3jIYs.s:31:Junk
    character 92 (\).
    /var/folders/lR/**lRDTtEI1HKOiIYTfPqUtg++++TI/-**
    Tmp-//ccd3jIYs.s:31:Rest
    of line ignored. 1st junk character valued 49 (1).
    Magnus sent me the .s file offline. The problem here is deeper than I
    thought. These errors are coming from the generation of the export
    data. Currently gccgo just dumps the export data into a .go_export
    section. However, it appears that Mach-O doesn't work like ELF in
    that you can just dump data into an arbitrary section. This is going
    to require some work on both the export and the import side to make
    gccgo work on OS X.

    In short, gccgo is not ready for OS X. This is not something I am
    likely to tackle any time soon. If anybody is interested in working
    on this, I can provide some pointers.

    Sorry for the bad news.

    Ian

    --
    --

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-nuts @
categoriesgo
postedSep 26, '12 at 2:29a
activeSep 26, '12 at 3:29a
posts2
users2
websitegolang.org

2 users in discussion

Robert Sandra: 1 post Peter S: 1 post

People

Translate

site design / logo © 2021 Grokbase