[Buildroot] svn commit: trunk/buildroot/package/qtopia4
hans-christian.egtvedt at atmel.com
Mon Dec 1 13:43:53 UTC 2008
On Mon, 1 Dec 2008 14:39:57 +0100
Thomas Petazzoni <thomas.petazzoni at free-electrons.com> wrote:
> Le Mon, 1 Dec 2008 14:25:58 +0100,
> Hans-Christian Egtvedt <hans-christian.egtvedt at atmel.com> a écrit :
> > They probably will if the external toolchain is for cross compiling.
> > What architecture was your external toolchain for? Was it configured
> > very similar to the host toolchain?
> My host machine is x86, my external toolchain compiles binaries for
> arm (toolchain generated by crosstool-ng, it uses uClibc).
Then you were probably lucky getting it to compile the first time.
> > I think I'll leave it until we have some proper data on who uses
> > what kinds of toolchains. Could it be that your external toolchain
> > just needs a massage?
> What do you mean ?
> It just seems logical to me that when using an external toolchain, one
> needs to tell the toolchain where the headers and libraries are, when
> they are not in the sysroot directory of the toolchain as specified
> during the generation of the toolchain.
Adding -I and -L as a general rule to both cross compiling and host
compiling is wrong. You must probably change the CFLAGS, CXXFLAGS,
LDFLAGS, etc. in qmake.conf.
More information about the buildroot