<div dir="ltr"><div><div><div><div><div>Hello,<br><br></div>In Linux, one can make a shared library that has the binary code for several objects like this:<br></div>gcc -shared -fpic obj1.o obj2.o -o obj.so<br><br></div>Is it possible to do the same with RTEMS objects?<br>The problem is that I have two separate source files, where one (the test case) uses the other one (the test setting). I want to dynamically load <b>one</b> object file that contains the binary code for both files.<br><br></div><div>PS: I tried -shared and -fpic with proper RTEMS C flags, but I also needed to link my Init task's object file in order to create the shared object file, which is what I don't want (causes a failure on dlopen).<br></div><div><br></div>Best Regards,<br></div>Saeed<br></div>