From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <465FE255.90801@domain.hid> Date: Fri, 01 Jun 2007 11:09:41 +0200 From: Wolfgang Grandegger MIME-Version: 1.0 References: <0B45E93C5FF65740AEAE690BF3848B7A4AB0F3@domain.hid> <465BE777.7010204@domain.hid> <7289437c0705290347y20eeff5bq3e86cd0cd4984ddb@domain.hid> <465C6268.1090704@domain.hid> <18012.28254.882249.144005@domain.hid> <7289437c0705292257u57e991a1l270d478fdf7f757d@domain.hid> <7289437c0705300051i2634264avc5f2db1fcdb91da8@domain.hid> <465D664E.3040700@domain.hid> <465E8FA8.4030507@domain.hid> <7289437c0705310558y6e1b4f8fue26c640d863ae041@domain.hid> <465EC7C1.5080300@domain.hid> <465ECDEC.1030109@domain.hid> <465ECFCA.1070801@domain.hid> <465FD824.6010902@domain.hid> <465FDD44.1050404@domain.hid> In-Reply-To: <465FDD44.1050404@domain.hid> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] =?iso-8859-15?q?Xenomai_with_=B5Clibc?= List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: xenomai-help Jan Kiszka wrote: > Wolfgang Grandegger wrote: >> Jan Kiszka wrote: >>> Wolfgang Grandegger wrote: >>>> Jan Kiszka wrote: >>>>> Perrine Martignoni wrote: >>>>>>> Perrine, did you happen to configure Xenomai with "configure >>>>>>> --host=arm >>>>>>> ..."? If yes (see config.log), please use "--host=arm-linux". This >>>>>>> solved all issues for me. >>>>>>> >>>>>>> Awaiting your feedback! >>>>>> I configure Xenomai with --host=arm. >>>>>> I tried to configure like this but it doesn't work : >>>>>> >>>>>> ./configure --build=arm-linux --host=arm-linux CC=arm-linux-gcc >>>>> ^^^^^^^^^ >>>>> I guess you are not compiling Xenomai _on_ an ARM box, are you? :) >>>>> Try --build=i686-linux here. >>>> Or just omit it. Also CC=, CXX=, LD= ist not necessary. For PowerPC >>>> with the ELDK, I just use >>>> >>>> ./configure --host=ppc-linux >>>> >>>> to configure Xenomai. >>> Can we define a common ground for this in README.INSTALL, for all archs? >>> The simpler, the better. >>> >>> I was heavily misled by the PPC section, because I do not cross-compile >>> everyday, thus had to look up the procedure again and managed to pick >>> the bad example... >> I had a closer look and realized, that passing just CC, CXX and LD to >> the configure script is not enough. There should at least also AR and >> RANLIB, otherwise the corresponding host tools are used. Then I think, >> it should be equivalent to automatic tool assignment via --host. >> >> Also note, that "--host=arm" will also work with the ELDK, because there >> are links arm-* to the tools arm-linux-*. I Perrine's configure examples >> above, arm-ar and arm-ranlib will then be used. > > But the issue is that in this case configure is unable to find the > target OS and fails to detect that shared libs are supported for the > target. Non-shared build fails with ELDK for unknown reasons. Why it is unable to find the target OS. Can you provide an example? And non-shared builds only fail with the ARM uClibc toolchain from the ELDK. It builds fine with the normal ARM tool-chain. Wolfgang.