From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hans-Christian Egtvedt Date: Mon, 1 Dec 2008 14:43:53 +0100 Subject: [Buildroot] svn commit: trunk/buildroot/package/qtopia4 In-Reply-To: <20081201143957.7c307076@surf> References: <20081201130602.AB0FD3C78E@busybox.net> <20081201140854.287670ff@surf> <20081201141201.507161b7@hcegtvedt> <20081201141958.5eb0cfe9@surf> <20081201142558.7b214b59@hcegtvedt> <20081201143957.7c307076@surf> Message-ID: <20081201144353.22b77a25@hcegtvedt> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On Mon, 1 Dec 2008 14:39:57 +0100 Thomas Petazzoni wrote: > Le Mon, 1 Dec 2008 14:25:58 +0100, > Hans-Christian Egtvedt 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. -- Best regards, Hans-Christian Egtvedt