Forum Discussion
Altera_Forum
Honored Contributor
19 years agoHelmChen,
Actually , the above makefile is taken from the Hello application which can be found in : C:\altera\kits\nios2\examples\software\linux\apps\samples\hello and this Hello project doesn't need SOURCE specified. When I tried this project , everything was fine : it could create *.gdb for me to debug , run , watch variable ,..... with it. My app and project names are the same. Anyway , I tried to add "SOURCE : file1.c file2.c file3.c" to my REAL project , which is much larger than hello app , but it could not create *.gdb although object file was created beautifully. I doubted at some "rm ..." commands in makefile and Rules.mak and tried to comment them out but it seemed that the "Build Make Target" didn't understand my changes. I am also thinking of NIOS 1C12 memory availability for my app (main is ~123772bytes , main.o is ~40200bytes). Is memoy the problem of mine ? What do you think ? Quan