1 . Thanks, i found the answer here : and it compiles great ( replace all with debug in the make file .. )
https://stackoverflow.com/questions/28542408/how-use-a-makefile-with-codeblocksbut when i try to debug it I'm getting (added -g)
gcc -g -fno-stack-protector -static -O2 test.c test1.S -o test.elf
Active debugger config: GDB/CDB debugger:Default
Building to ensure sources are up-to-date
Selecting target:
Debug
Adding source dir: /home/vagrant/example/
Adding source dir: /home/vagrant/example/
Adding file: /home/vagrant/example/bin/Debug/example
Changing directory to: /home/vagrant/example/.
Set variable: LD_LIBRARY_PATH=.:
Starting debugger: /usr/bin/gdb -nx -fullname -quiet -args /home/vagrant/example/bin/Debug/example
Setting SHELL to '/bin/sh'
done
Setting breakpoints
Debugger name and version: GNU gdb (Ubuntu 9.2-0ubuntu1~20.04) 9.2
Starting the debuggee failed: No executable file specified.
Debugger finished with status 0
3 . yes I'm using 20.3 , what fix you talking about ?