[Klone-users] Cross-compiling klone
Thomas Kotschenreuther | RA Consulting
t.kotschenreuther at rac.de
Wed Dec 3 04:12:29 EST 2008
Hello Thomas,
Thanks for the hints.
I got it working, now. It seems that I missed some settings in the
toolchain configuration file, I used before.
With the following file it worked as you described:
######## tricore.tc begin ##########
CC = tricore-gcc
CPP = ${CC} -E
CXX = tricore-g++
CFLAGS = -pipe
CXXFLAGS = ${CFLAGS}
AR = ar
ARFLAGS = cq
RANLIB = tricore-ranlib
LD = tricore-ld
LDFLAGS = __UNSET__
ECHO = echo
NM = tricore-nm
STRIP = tricore-strip
STRIP_FLAGS = -x
INSTALL = install
INSTALL_COPY = -c
INSTALL_STRIP = -s
TSORT = tsort
# avoid circular dependencies error
PRE_LDADD = -Wl,--start-group
POST_LDADD = -Wl,--end-group
MKINSTALLDIRS = ${MAKL_DIR}/helpers/mkinstalldirs
# MKINSTALLDIRS = mkdir -p
MKDEP = ${MAKL_DIR}/helpers/mkdep.gcc.sh
LORDER = ${MAKL_DIR}/helpers/lorder
######## tricore.tc end ##########
Thanks and best regards
Thomas Kotschenreuther
> -----Original Message-----
> From: klone-users-bounces at koanlogic.com
> [mailto:klone-users-bounces at koanlogic.com] On Behalf Of thomas fossati
> Sent: Friday, November 21, 2008 12:00 PM
> To: Klone users
> Subject: Re: [Klone-users] Cross-compiling klone
>
> Hi Thomas,
>
> On Nov 21, 2008, at 11:45 AM, Thomas Kotschenreuther | RA Consulting
> wrote:
> > Hello,
> >
> > I try to cross-compile klone, but the toolchain settings
> seem to be
> > ignored. Is there anything, I miss?
> >
> > I did the following:
>
> this is not the preferred way to go.
>
> Try to follow the steps at http://www.koanlogic.com/klone/tut.html ,
> you'll find it far more easy and cheap.
>
> Specifically, what you need is adding the location of your toolchain
> file to the bootstrap Makefile, e.g. in case the tc file is in the
> same directory as the Makefile:
>
> KLONE_CUSTOM_TC = $(CURDIR)/tricore.tc
>
> ciao, t.
>
> _______________________________________________
> Klone-users mailing list
> Klone-users at koanlogic.com
> http://koanlogic.com/cgi-bin/mailman/listinfo/klone-users
>
More information about the klone-users
mailing list