On 10/11/2015 8:35 pm, Sebastian Huber wrote: > Hello, > > for the libbsd we have the problem that we expose a lot of symbols from > the FreeBSD kernel space to the applications. There are several known > conflicts, e.g. FreeBSD log() vs. standard math library log(). The > current approach to solve this issue is to generate a file with lots of > > #define xx _bsd_xx > ... > > defines to rename at C pre-processor level. This is however quite > brittle and doesn't work in general. An alternative would be to > post-process the kernel-space object files with something like this > > objcopy --redefine-syms redefines.txt x.o > > with a redefines.txt > > xx=_bsd_xx > ... > > My question is now: how can I add this post-processing step to the waf > based libbsd build system? >
Is this per object file or after the library has been made? Chris _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel