From: Mike Frysinger <vapier@gentoo.org>
To: gdb-patches@sourceware.org
Cc: "Steve Ellcey " <sellcey@mips.com>, gdb-patches@gcc.gnu.org
Subject: Re: [patch, sim] Fix simulator Makefile
Date: Mon, 25 Nov 2013 08:15:00 -0000 [thread overview]
Message-ID: <201311242356.52820.vapier@gentoo.org> (raw)
Message-ID: <20131125081500.3_3akT1-rP8U5KdolhzX4JyzHfvlV7aaM_-IsolmXrE@z> (raw)
In-Reply-To: <b1e01836-18de-4a05-ab77-11f60b47b3cf@BAMAIL02.ba.imgtec.org>
[-- Attachment #1: Type: Text/Plain, Size: 830 bytes --]
On Friday 22 November 2013 14:34:41 Steve Ellcey wrote:
> I am trying to build a complete 32 bit toolchain, including the simulator,
> on an x86-64 Linux box by setting CFLAGS and CXXFLAGS to '-O2 -g -m32'.
> I ran into a problem when building the simulator because in the igen
> subdirectory make is using -m32 when compiling the objects that go into
> igen but not on the link line.
>
> I tried setting LDFLAGS to -m32 but that did not help. I noticed that a
> number of other targets in that Makefile (that no longer appear to be used)
> use $(BUILD_CFLAGS) as well as $(BUILD_LDFLAGS) when linking. Making that
> change when building igen fixed the problem.
>
> This may be considered an obvious fix, but I thought I would send it out
> first anyway just to double check.
>
> OK to checkin?
OK
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2013-11-25 4:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-22 20:00 Steve Ellcey
2013-11-25 7:49 ` Mike Frysinger [this message]
2013-11-25 8:15 ` Mike Frysinger
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=201311242356.52820.vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=gdb-patches@gcc.gnu.org \
--cc=gdb-patches@sourceware.org \
--cc=sellcey@mips.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