Hi,<br><br>I wish to use KLone on an embedded system using the m68k-elf-gcc compiler, however I must use a custom toolchain (.tc), custom librairies and custom executable (cc, cxx, ar, ... corresponding variables).<br><br>
I create my custom toolchain file with an existing .tc file (&quot;<a href="http://linux-m68k.tc">linux-m68k.tc</a>&quot;) to use the same variables.<br><span style="font-style: italic;">CC = m68k-elf-gcc</span><br style="font-style: italic;">
<span style="font-style: italic;">CXX = m68k-elf-g++</span><br style="font-style: italic;"><span style="font-style: italic;">AR = m68k-elf-ar</span><br style="font-style: italic;"><span style="font-style: italic;">RANLIB = m68k-elf-ranlib</span><br style="font-style: italic;">
<span style="font-style: italic;">LD = m68k-elf-ld</span><br style="font-style: italic;"><span style="font-style: italic;">NM = m68k-elf-nm</span><br style="font-style: italic;"><span style="font-style: italic;">STRIP = m68k-elf-strip</span><br>
<br>I modify the mainly &quot;makefile&quot; :<br style="font-style: italic;"><span style="font-style: italic;">KLONE_CONF_ARGS ?=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \</span><br style="font-style: italic;"><span style="font-style: italic;">&nbsp;&nbsp;&nbsp; --enable_debug \</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp; --cross_compile \</span><br style="font-style: italic;"><span style="font-style: italic;">&nbsp;&nbsp;&nbsp; --dir-lib=/mylib/ \</span><br style="font-style: italic;"><span style="font-style: italic;">&nbsp;&nbsp;&nbsp; --dir-inc=/myinclude/</span><br>
<br><span style="font-style: italic;">KLONE_CUSTOM_TC = /myfolder/<a href="http://mytcfile.tc">mytcfile.tc</a></span><br><br>I enter :<br><span style="font-style: italic;">./configure</span><br style="font-style: italic;">
<span style="font-style: italic;">make</span><br><br>But I have a lot of &quot;compilation failed&quot; and 2 errors for &quot;building libu&quot; step.<br><br>Why ?<br><br>I have the same difficulty giving the &quot;--dir-lib&quot; and &quot;--dir-inc&quot; parameters to the ./configure command.<br>
<br>I read the different tutorials but they use a predefine toolchain file.<br><br>Thank you.<br clear="all"><br>-- <br>Mickaël AUGER<br><a href="mailto:mickael.auger@gmail.com">mickael.auger@gmail.com</a>