Hi all,I am nearly done with newlib now and work on the reentrancy stuff. I found it may make sense to have two different libraries when using multicore. In the moment I have a gcc option multicore (https://github.com/wallento/or1k-gcc/blob/multicore/gcc/config/or1k/or1k.opt#L98) and built two versions of libgloss' libor1k and crt0 (https://github.com/wallento/or1k-src/blob/multicore/libgloss/or1k/Makefile.in#L90). GCC then collects the correct one depending on the presence of the multicore flag (https://github.com/wallento/or1k-gcc/blob/multicore/gcc/config/or1k/or1k.h#L61). Although the whole rest of newlib does not need to compiled twice, I am not sure if multilib is the proper way to do this. Any opinions?
Thanks, Stefan
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ OpenRISC mailing list [email protected] http://lists.openrisc.net/listinfo/openrisc
