Forum > Lazarus

Testers for GDB Based debugger / Windows / Lazarus SVN

<< < (4/5) > >>

Red_prig:
As far as I could, I adapted Unicode for Windows. It was dreary.  :(

https://github.com/red-prig/binutils-gdb/tree/gdb-9-not_cygwin

Red_prig:
seems to be working fine  :)
https://github.com/red-prig/binutils-gdb/releases/tag/9.2-not_cygwin

Martin_fr:
Thanks, I have it on my todo, but unfortunately currently running out of time...

Martin_fr:
Long time, got a tiny bit of time now.
I tried to build it myself.
What options to you use for configure?

I tried:

--- Code: ---../gdb/configure --enable-static=yes  --disable-gprof --with-expat  --host=x86_64-w64-mingw32  LDFLAGS=-static
make  LDFLAGS=-static
--- End code ---
Also with "--with-system-readline".

But I get lots of errors.

1) bfd/bfd.in
#include "../gdb/wtou.h"

Does not work.
The generated config.h has the wrong path.
This may have to do with the build environment forcing me to configure and make in a separate directory.
mkdir builddir
cd buildir
../gdbsrc/configure ......

I worked around by placing a copy of that file in the folder that configure wrote to config.h

2) libiberty (and probably gas)
It ends up libtool/linking and cant resolve ustat and one other from wtou (don't recall the name)

I couldn't get past that.

------
My build system is a freshly installed msys2 with mingw64.

Any ideas?



2)

Martin_fr:
Ok, I managed to build / Needed to hack a few things to get around compilation errors...

First runs in my test suite are very positive. Lets see...

I have my changes here:
https://github.com/red-prig/binutils-gdb/compare/gdb-9-not_cygwin...User4martin:win-unicode-9-2
Those are trial and error workarounds to compiler error messages / so no candidates for a beauty pageant

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version