Forum Discussion
Altera_Forum
Honored Contributor
21 years agonios-build vs. nios-elf-gcc
Hi, I am trying to include the nios_gdb_stub code with my compilation, but am wanting to use gcc instead of nios-build (because I am using a makefile). Does anyone know what the gcc equiva...
Altera_Forum
Honored Contributor
21 years agoWow, this takes me back. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif
The nios-build executable is a script file, so you can take a look inside. I believe that the script does 2 things when you add the -d option to nios-build (1) uses the -g and -O0 compiler flags (2) links against libnios_debug.a or something along those lines Hope this helps