Re: GDB fails to build on High Sierra (fwd)

2024-09-16 Thread Chris Jones via macports-users
You are asking in the wrong place, the users list is not really the place for this. First file a Trac ticket and then ask for feedback on that ticket on the macports devel list. Chris On 15/09/2024 10:07 pm, Dave Horsfall wrote: Anyone? -- Dave -- Forwarded message -- D

Re: gdb

2019-01-08 Thread James Linder
> On 9 Jan 2019, at 12:48 am, Ken Cunningham > wrote: > > fyi > > I updated gdb last night, to the current version. > > so it might be worth trying again > > gdb and lldb are both good debuggers, but they are different, and it takes a > while to get facile with either. > > K > > > On 2

Re: gdb

2019-01-08 Thread Ken Cunningham
fyi I updated gdb last night, to the current version. so it might be worth trying again gdb and lldb are both good debuggers, but they are different, and it takes a while to get facile with either. K On 2019-01-08, at 6:34 AM, Ryan Schmidt wrote: > I don't know why gdb isn't working for you

Re: gdb

2019-01-08 Thread Mojca Miklavec
Dear James, On Sun, 6 Jan 2019 at 01:39, James Linder wrote: > > /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile all > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ > -c -pipe -stdlib=libc++ -g -std=gnu++11 -arch x86_64 -isysro

Re: gdb

2019-01-08 Thread Ryan Schmidt
I don't know why gdb isn't working for you. From what I've been able to find, it should be able to debug programs built by clang. But have you considered trying lldb instead?

Re: gdb

2019-01-05 Thread James Linder
> On 6 Jan 2019, at 1:00 am, Mojca Miklavec wrote: > > Dear James, > > I don't quite understand what your question/problem is. Can you please > be more explicit (ideally on the mailing list). > > Mojca > > On Sat, 5 Jan 2019 at 15:11, James Linder wrote: >> >> Hi >> >> can anybody show m

Re: gdb fails to compile on Leopard - C++11 compiler

2018-02-15 Thread Riccardo Mottola via macports-users
Hi, I forgot to reply this! Chris Jones wrote: It appears the port already has support for building against MPs python versions, it just is not enabled by default. Titan ~/Projects/MacPorts/ports > port variants gdb gdb has the variants:    multiarch: Support all target architectures    pyt

Re: gdb fails to compile on Leopard - C++11 compiler

2018-01-30 Thread Joshua Root
On 2018-1-31 11:36 , Joshua Root wrote: > On 2018-1-31 03:41 , Chris Jones wrote: >> >> It appears the port already has support for building against MPs python >> versions, it just is not enabled by default. >> >> Titan ~/Projects/MacPorts/ports > port variants gdb >> gdb has the variants: >>    mu

Re: gdb fails to compile on Leopard - C++11 compiler

2018-01-30 Thread Joshua Root
On 2018-1-31 03:41 , Chris Jones wrote: > > It appears the port already has support for building against MPs python > versions, it just is not enabled by default. > > Titan ~/Projects/MacPorts/ports > port variants gdb > gdb has the variants: >    multiarch: Support all target architectures >   

Re: gdb fails to compile on Leopard - C++11 compiler

2018-01-30 Thread Ken Cunningham
On 2018-01-30, at 8:41 AM, Chris Jones wrote: > > On 30/01/18 16:31, Riccardo Mottola wrote: >> Hi, >> Chris Jones wrote: >>> Or maybe the gdb port could be updated to use one of macports python >>> versions ? >> can I do this easily as a test in my portfile? could you do it? >> I already have

Re: gdb fails to compile on Leopard - C++11 compiler

2018-01-30 Thread Chris Jones
It appears the port already has support for building against MPs python versions, it just is not enabled by default. Titan ~/Projects/MacPorts/ports > port variants gdb gdb has the variants: multiarch: Support all target architectures python27: Build GDB with Python 2.7 Scripting *

Re: gdb fails to compile on Leopard - C++11 compiler

2018-01-30 Thread Riccardo Mottola via macports-users
Hi, Chris Jones wrote: Or maybe the gdb port could be updated to use one of macports python versions ? can I do this easily as a test in my portfile? could you do it? I already have a newer python installed from macports, so it would be a matter of "using" it. Riccardo

Re: gdb fails to compile on Leopard - C++11 compiler

2018-01-26 Thread Chris Jones
Or maybe the gdb port could be updated to use one of macports python versions ? > On 26 Jan 2018, at 9:11 pm, Ken Cunningham > wrote: > > Use an older version of gdb, like 7.6.8 maybe, that worked on leopard. > > J > > Sent from my iPhone > >> On Jan 26, 2018, at 12:07 PM, Joshua Root wro

Re: gdb fails to compile on Leopard - C++11 compiler

2018-01-26 Thread Ken Cunningham
Use an older version of gdb, like 7.6.8 maybe, that worked on leopard. J Sent from my iPhone > On Jan 26, 2018, at 12:07 PM, Joshua Root wrote: > > Riccardo Mottola wrote: >> Build fails with: >> >> /opt/local/bin/g++-mp-6 -pipe -Os -D_GLIBCXX_USE_CXX11_ABI=0 -m32 >> -I. -I. -I./common -

Re: gdb fails to compile on Leopard - C++11 compiler

2018-01-26 Thread Joshua Root
Riccardo Mottola wrote: > Build fails with: > > /opt/local/bin/g++-mp-6 -pipe -Os -D_GLIBCXX_USE_CXX11_ABI=0 -m32 > -I. -I. -I./common -I./config > -DLOCALEDIR="\"/opt/local/share/locale\"" -DHAVE_CONFIG_H > -I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I./../zlib > -I../bfd -

Re: gdb fails to compile on Leopard - C++11 compiler

2018-01-26 Thread Riccardo Mottola via macports-users
Hi Mojca, thank you for the hints. On 2018-01-25 12:55:39 +0100 Mojca Miklavec wrote: You can try to add "PortGroup cxx11 1.1" somewhere at the top of the Portfile or install the port with port install gdb configure.compiler= (not sure which one though) and try again. I tried adding t

Re: gdb fails to compile on Leopard - C++11 compiler

2018-01-25 Thread Mojca Miklavec
On 25 January 2018 at 12:19, Riccardo Mottola via macports-users wrote: > > Hi, > > I need to install gdb on 10.5 and install of the port fails. > This is the extract of the buildlog: I understand it is using the > system compiler instead of using e.g. a newer gcc or clang from MP > which both hav