- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 equivalent of "nios-build -d" is? I cannot see anything in the gcc help files about how to compile/link the nios_gdb_stub... EvanLink Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Wow, 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
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page