Skip to content

Instantly share code, notes, and snippets.

@lemenkov
Last active May 28, 2025 14:57
Show Gist options
  • Save lemenkov/7fcd1f0db6b62ade10e573ab74dc65f7 to your computer and use it in GitHub Desktop.
Save lemenkov/7fcd1f0db6b62ade10e573ab74dc65f7 to your computer and use it in GitHub Desktop.
git clone https://github.com/erlang/otp.git
cd otp
./otp_build download_gdb_tools
./otp_build update_gdb_tools
./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared-zlib --enable-sctp --enable-systemd --disable-silent-rules --enable-hipe --with-wx-config=/usr/bin/wx-config
make
# ./bin/x86_64-redhat-linux-gnu/jit-reader.so
make install DESTDIR=/var/tmp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment