Forum Discussion
Altera_Forum
Honored Contributor
20 years agolinker question
hello, In my project, some global variables are placed in a library. These variables are used in a class that also has a global instance in that library. The constructor of that class places po...
Altera_Forum
Honored Contributor
20 years agoSome progress.
It seems that the file as a whole entity is removed. As soon as I force the linker to use a small part of the file, the rest of tha data is also available. I've put another global variable in the source file (int dummy;), and use it in the main source file (extern int dummy;). The problem is that I will have a lot of such issues, and I can not use a dummy variable in the main project file for every library I use. Any idea's? Stefaan