<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>I am creating a platform file for the Radisys OS9 embedded cross compiler.&nbsp; The executable link line needs to look like:</div><div><span>xcc&nbsp;source.o -fd=target -lmylib/mylib.l</span></div><div><span></span>&nbsp;</div><div><span>I figured out that I needed to add this to my Generic_XCC.cmake platform file</span></div><div><span><span>SET(<span class="bold highlight search-highlight">CMAKE_LINK_LIBRARY_FILE_FLAG</span> "-l")</span></span></div><div><span><span></span></span>&nbsp;</div><div><span><span>but the problem is that cmake generates a space after the -l directive</span></span></div><div><span><span><span>xcc source.o -fd=target -l mylib/mylib.l</span></span></span></div><div><span><span><span></span></span></span>&nbsp;</div><div><span><span><span>Any ideas as to how I could remove that space after the
 -l?</span></span></span></div><div><span><span><span></span></span>&nbsp;</span></div><div><br></div></div></body></html>