[Klone-users] Compilation for elf m68k
Mickael Auger
mickael.auger at gmail.com
Mon Apr 7 03:47:43 EDT 2008
Hi,
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).
I create my custom toolchain file with an existing .tc file ("linux-m68k.tc")
to use the same variables.
CC = m68k-elf-gcc
CXX = m68k-elf-g++
AR = m68k-elf-ar
RANLIB = m68k-elf-ranlib
LD = m68k-elf-ld
NM = m68k-elf-nm
STRIP = m68k-elf-strip
I modify the mainly "makefile" :
KLONE_CONF_ARGS ?= \
--enable_debug \
--cross_compile \
--dir-lib=/mylib/ \
--dir-inc=/myinclude/
KLONE_CUSTOM_TC = /myfolder/mytcfile.tc
I enter :
./configure
make
But I have a lot of "compilation failed" and 2 errors for "building libu"
step.
Why ?
I have the same difficulty giving the "--dir-lib" and "--dir-inc" parameters
to the ./configure command.
I read the different tutorials but they use a predefine toolchain file.
Thank you.
--
Mickaël AUGER
mickael.auger at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://koanlogic.com/pipermail/klone-users/attachments/20080407/7db6d713/attachment.html
More information about the klone-users
mailing list