[Klone-users] Compilation for elf m68k
thomas fossati
tho at koanlogic.com
Mon Apr 7 05:52:00 EDT 2008
Hi Mickael,
On Apr 7, 2008, at 9:47 AM, Mickael Auger wrote:
> 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
m68k-elf-* programmes must are in PATH, rigth ?
> --dir-lib=/mylib/ \
> --dir-inc=/myinclude/
Probably this is not what you mean: --dir-{lib,inc} arguments set the
destination of klone internal header files and libraries when doing
"make install". Instead, if you have your cross-compiled dependencies
in /my (e.g. /my/lib/libssl.a, /my/include/zlib.h, ...) you can
replace the --dir-{lib,inc} directives with --libs=/my , which should
do the job.
> KLONE_CUSTOM_TC = /myfolder/mytcfile.tc
>
> I enter :
> ./configure
> make
Avoid the ./configure step, it is done internally when just typing
"make".
ciao, t.
More information about the klone-users
mailing list