Hi,<br><br>I am having problems converting the linux linking command to a OS X equivalent.&nbsp; Can anyone here help?<br><br>echo | $(CC) $(CFLAGS) -fpic -shared \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -o $$shared_object \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -Wl,-soname,$$shared_object -xc - ;<br>
My attempt is like this:<br>echo | $(CC) $(CFLAGS) -fPIC -dynamiclib \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -o $$shared_object \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -Wl,-dynamic $$shared_object -xc - ;<br><br>The purpose it to generate empty shared libraries.<br><br>
Thanks for any help you can offer on this.<br><br>Michael<br><br>PS.&nbsp; I had this working but lost the code since I removed the wrong directory.<br><br>