Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Doug Evans <dje@google.com>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: gdb-patches@sourceware.org,    iant@google.com
Subject: Re: golang compiler (6g) testsuite board file  [Re: [RFC] Initial pass at supporting the Go language]
Date: Wed, 21 Jan 2015 17:59:00 -0000	[thread overview]
Message-ID: <21695.59666.594553.414559@ruffy2.mtv.corp.google.com> (raw)
In-Reply-To: <20150120173412.GA19765@host2.jankratochvil.net>

Jan Kratochvil writes:
 > Hi Doug,
 > 
 > On Wed, 28 Dec 2011 22:02:06 +0100, Doug Evans wrote:
 > > I also have a board file for running the testsuite with the 6g compiler.
 > > I'll submit that separately.
 > 
 > I haven't found that file submitted, do you still have it?

Hi.

Here's what I have.
I haven't used it in awhile, and have spent no time cleaning it up,
so "heads up".

---
# Board description file for running the testsuite with the 6g compiler.
# The user is currently required to set GO_FOR_TARGET to the path of 6g.
# IWBN if all we had to do was set the path to the compiler.

# 6g doesn't treat -g like gcc does.
set_board_info debug_flags ""

#set GO_TOP "/g3/go/6g/go"
set GO_TOP "/g5/go/6g/go"

set_board_info gocompiler "$GO_TOP/pkg/tool/linux_amd64/6g"

# 6g uses a separate linker.
set_board_info golinker "$GO_TOP/pkg/tool/linux_amd64/6l"

# 6g doesn't have a -lm.
# FIXME: This affects all languages.
set_board_info mathlib ""

# 6l requires "-o foo.o foo" instead of "foo.o -o foo".
set_board_info golinker_opts_order "flags-then-sources"


      reply	other threads:[~2015-01-21 17:59 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-28 21:13 [RFC] Initial pass at supporting the Go language Doug Evans
2011-12-29  3:50 ` Eli Zaretskii
2011-12-29  5:17 ` Joel Brobecker
2012-01-03 17:38   ` Doug Evans
2012-01-03 17:52     ` Joel Brobecker
2012-01-25 20:00   ` Doug Evans
2012-01-02 19:13 ` Tom Tromey
2012-01-03  3:20   ` Joel Brobecker
2012-01-03 18:12   ` Doug Evans
2012-01-03 19:50     ` Tom Tromey
2012-01-03 20:02   ` Keith Seitz
2015-01-20 17:34 ` golang compiler (6g) testsuite board file [Re: [RFC] Initial pass at supporting the Go language] Jan Kratochvil
2015-01-21 17:59   ` Doug Evans [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=21695.59666.594553.414559@ruffy2.mtv.corp.google.com \
    --to=dje@google.com \
    --cc=gdb-patches@sourceware.org \
    --cc=iant@google.com \
    --cc=jan.kratochvil@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox