Answers for "ex:c++ gcc start adress"

0

ex:c++ gcc start adress

■ g++ -c main.cpp -o my_exec.o
■ ld -lc -dynamic-linker /lib64/ld-linux-x86-64.so.2 -e my_start my_exec.o -o my_exec

✓ One line command: g++ main.cpp -Wl,-emy_start -nostartfiles -o my_exec
✓ -e(--entry): Set start address
Posted by: Guest on April-19-2021

Browse Popular Code Answers by Language