Hi, Ilias Stamatis wrote, > Hello, > > I'm re-sending this e-mail because I think it wasn't sent the first > time since I wasn't subscribed to the list. If you got it twice sorry > for the inconvenience. > > I want to modify uclibc-ng and make it do some calls to my library when > system calls are invoked. My small library consists of a single prebuilt > object file and a header file which I don't know how to statically link > in uclibc-ng when I am building it. My makefile-hacking related skills > are not exactly great. > > All I need is to call a couple of my library functions from inside the > INLINE_SYSCALL_NCS macro: > https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/tree/libc/sysdeps/linux/arm/bits/syscalls.h#n33 > > Could you give me some hints regarding which Makefiles I need to modify > and how?
Add your C source file to libc/sysdeps/linux/arm/Makefile.arch in CSRC-y and add your header and C file to libc/sysdeps/linux/arm so that your code get compiled and linked while building uClibc-ng. No idea howot work with a prebuilt object file. best regards Waldemar _______________________________________________ devel mailing list [email protected] https://mailman.uclibc-ng.org/cgi-bin/mailman/listinfo/devel
