i386 bsp issues

Joel Sherrill joel at OARcorp.com
Fri Aug 3 21:26:31 UTC 2001



Quality Quorum wrote:

>> Something like
>> 
>> if elf
>> alias
>> else
>> bsp_start() { bsp_start_default() }
>> endif
>> 
> 
> Is elf defined at CPP level , indeed ?
>  


It isn't and neither is the infrastructure to do -DUSE_INIT_FINI 
automatically.

But at least by making the ifdef, the makefile can be editted and the 
code switched
with ease.

FWIW It is also possible that the BSP configure script detect 
i386-rtemscoff and
handle that specially. :)




More information about the users mailing list