Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling gdbserver - Need help #25

Closed
clauderobi opened this issue Apr 16, 2022 · 1 comment
Closed

Compiling gdbserver - Need help #25

clauderobi opened this issue Apr 16, 2022 · 1 comment

Comments

@clauderobi
Copy link

clauderobi commented Apr 16, 2022

Hi, I am trying to modify the script to compile gdbserver. (And gdb, which I was successful at doing).

I added this after gcc is compiled;
` create_dir "$bld_path/binutils/gdbserver"
change_dir "$bld_path/binutils/gdbserver"

execute "($arch): configuring gdbserver" "" \
    "$SRC_PATH/binutils/gdbserver/configure" --prefix="$prefix" --disable-nls --host="$host" 

execute "($arch): building gdbserver" "" \
    make -j $JOB_COUNT

execute "($arch): installing gdbserver" "" \
    make install`

But I get this fatal error: langinfo.h: No such file or directory when building.
(The disable-nls did not make a change even after I added it)

In the log I see this:
checking for x86_64-w64-mingw32-gcc... so I see that the correct compiler is being picked up.

I Googled a bit to see how gdbserver should be configured and beside the host apparently nothing should be needed. So I am not sure what I am doing wrong.

@Zeranoe
Copy link
Owner

Zeranoe commented Feb 1, 2023

As described in the README for gdbserver you want to add --disable-gdb to configure. Then it's simply make all-gdbserver.

Closing as off-topic

@Zeranoe Zeranoe closed this as completed Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants