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 ("<a href="http://linux-m68k.tc">linux-m68k.tc</a>") 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 "makefile" :<br style="font-style: italic;"><span style="font-style: italic;">KLONE_CONF_ARGS ?= \</span><br style="font-style: italic;"><span style="font-style: italic;"> --enable_debug \</span><br style="font-style: italic;">
<span style="font-style: italic;"> --cross_compile \</span><br style="font-style: italic;"><span style="font-style: italic;"> --dir-lib=/mylib/ \</span><br style="font-style: italic;"><span style="font-style: italic;"> --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 "compilation failed" and 2 errors for "building libu" step.<br><br>Why ?<br><br>I have the same difficulty giving the "--dir-lib" and "--dir-inc" 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>