This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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:
signature.asc
Description: This is a digitally signed message part.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |