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 agosmcnutt,
The --whole-archive changes indeed something, I have over 100 errors now, most of them seems to be multiple definitions. I tried to include the file with the problems in an other file from the same library, and this works perfect. Execept that it is a bit strange to include a .cpp file in an other .cpp file, it works fine for me. At the moment, I can live with this solution. Time to get on with the rest of the project... Have a nice day, Stefaan.