diff --git a/Cross.toml b/Cross.toml index 7fa77eac0..da3c48089 100644 --- a/Cross.toml +++ b/Cross.toml @@ -1,9 +1,14 @@ [build] pre-build = [ - "apt-get update && apt-get -y install gdb" + "apt-get update && apt-get -y install wget build-essential libgmp-dev libmpfr-dev", + "cd /tmp && curl https://sourceware.org/pub/gdb/releases/gdb-16.3.tar.gz -o /tmp/gdb-16.3.tar.gz", + "cd /tmp && tar -xf gdb-16.3.tar.gz", + "cd /tmp/gdb-16.3 && ./configure --prefix=/usr/local", + "cd /tmp/gdb-16.3 && make -j$(nproc)", + "cd /tmp/gdb-16.3 && make install", ] [build.env] passthrough = [ "TARGET_TRIPLE", # Some tests invoke Cargo directly and need this to run correctly -] \ No newline at end of file +]