Managed Make calls linker before all modules have been compiled [message #848088] |
Tue, 17 April 2012 19:51  |
Eclipse User |
|
|
|
I am using Eclipse Version: 3.3.0 with CDT supplied by Technologic Systems (embeddedarm.com) to support their arm based single board computers.
When Eclipse attempts to build a large project using Managed Make, it only compiles 8 out of about 50 .c files to .o files, before calling the linker to link these object files. The linker promptly generates a ton of "undefined reference to <variable_name>"; variables corresponding to modules that have not yet been compiled.
I am completely baffled why the Managed Make is not compiling all the .c files to .o files before attempting to link the .o files. What is also puzzling is trying to figure out how the Managed Make decides the order of compilation.
I should mention the .c and .h files are stored in a number of folders under the src folder. But, this has not been a problem compiling programs with a small number of modules.
|
|
|
|
Powered by
FUDForum. Page generated in 0.09556 seconds