[En-Nut-Discussion] How is the tracer.c compiled? (was RE: Ethernut 3 linking problem: multiple definitions and undefined references)

José Vallet jose.vallet at hut.fi
Mon Feb 23 14:44:06 CET 2009


Ole Reinhardt wrote:
> Hi,
> 
>> The only files with a reference to "tracer.c" that I have found in the 
>> nut directory are os/tracer.c and conf/os/os.nut. So is the magic 
>> happening in conf/os/os.nut?
> 
> Yes it is. The configurator creates the Makefiles on it's own, when
> using the "Build NutOS" menu item. If it is configured to use the
> tracer, tracer.c will then be included into the Makefiles in your build
> path.

Thanks Ole.

Actually I found it afterwards documented in "Playing the Nut/OS 
Configuration Game", where one can read:

"When creating the build tree, the Configurator will exactly place all
source files of all activated modules in the SRCS line".


José



More information about the En-Nut-Discussion mailing list