This is the mail archive of the gdb-prs@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]

[Bug build/20526] [7.12 Regression] fail to build 64bit gdb on 32bit targets (powerpc, x86)


https://sourceware.org/bugzilla/show_bug.cgi?id=20526

Pedro Alves <palves at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |palves at redhat dot com

--- Comment #1 from Pedro Alves <palves at redhat dot com> ---
> cd /«PKGBUILDDIR»/build/objdir64 && CC="gcc -m64" CFLAGS="-g -O2 -fdebug-prefix-

GDB 7.12 builds with a C++ compiler by default.  You need to set CXX and
CXXFLAGS too.  I suspect that should fix it.

If you want to build with a C compiler for some reason, you still can, by
passing --disable-build-with-cxx.  That won't work any longer after 7.12.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]