* [Xenomai-help] configuring user-space xenomai 2.6 @ 2011-10-31 12:14 Łukasz Sacha 2011-10-31 12:35 ` Łukasz Sacha 0 siblings, 1 reply; 12+ messages in thread From: Łukasz Sacha @ 2011-10-31 12:14 UTC (permalink / raw) To: xenomai Hey, I'm following README_INSTALL from the xenoami 2.6 tree. I successfully patched and built the kernel 2.6.38.8 and modules. Now I'm trying to configure the user-space. I'm running the configure command as given in the example: ./configure CFLAGS="-march=armv4t" LDFLAGS="-march=armv4t" --host=arm-none-linux-gnueabi- --build=i686-pc-linux-gnu I get the following error: checking build system type... i686-pc-linux-gnu checking host system type... Invalid configuration `arm-none-linux-gnueabi-': machine `arm-none-linux-gnueabi' not recognized configure: error: /bin/bash config/config.sub arm-none-linux-gnueabi- failed This is how my environment is setup: luke@domain.hid$ which arm-none-linux-gnueabi-gcc /home/luke/Desktop/moje/mini2440/arm-2008q3/bin/arm-none-linux-gnueabi-gcc luke@domain.hid$ echo $PATH /home/luke/Desktop/moje/mini2440/arm-2008q3/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games No adequate info in the TROUBLESHOOTING. Am doing something wrong? Help me out please. regards, -- Łukasz Dragilla Sacha ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Xenomai-help] configuring user-space xenomai 2.6 2011-10-31 12:14 [Xenomai-help] configuring user-space xenomai 2.6 Łukasz Sacha @ 2011-10-31 12:35 ` Łukasz Sacha 2011-10-31 12:52 ` Łukasz Sacha 0 siblings, 1 reply; 12+ messages in thread From: Łukasz Sacha @ 2011-10-31 12:35 UTC (permalink / raw) To: xenomai I think I've identified the problem. There might be inconsistency in the script. In the README_INSTALL you write to give --host without the ending "-" whereas in the example it states to give --host=arm-none-linux-gnueabi- This is what happens when I write the host without the ending "-". luke@domain.hid$ ./configure CFLAGS="-march=armv4t" LDFLAGS="-march=armv4t" --host=arm-none-linux-gnueabi --build=i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking host system type... arm-none-linux-gnueabi checking for a BSD-compatible install... /usr/bin/install -c checking for arm-none-linux-gnueabi-gcc... arm-none-linux-gnueabi-gcc –march=armv4t –mtune=arm920t checking whether the C compiler works... no configure: error: in `/home/luke/Desktop/moje/mini2440/xenomai-2.6.0-rc5': configure: error: C compiler cannot create executables See `config.log' for more details Any ideas? -- Łukasz Dragilla Sacha On Mon, Oct 31, 2011 at 13:14, Łukasz Sacha <dragilla@domain.hid> wrote: > Hey, > > I'm following README_INSTALL from the xenoami 2.6 tree. I successfully > patched and built the kernel 2.6.38.8 and modules. Now I'm trying to > configure the user-space. > I'm running the configure command as given in the example: > ./configure CFLAGS="-march=armv4t" LDFLAGS="-march=armv4t" > --host=arm-none-linux-gnueabi- --build=i686-pc-linux-gnu > I get the following error: > checking build system type... i686-pc-linux-gnu > checking host system type... Invalid configuration > `arm-none-linux-gnueabi-': machine `arm-none-linux-gnueabi' not > recognized > configure: error: /bin/bash config/config.sub arm-none-linux-gnueabi- failed > > This is how my environment is setup: > luke@domain.hid$ which > arm-none-linux-gnueabi-gcc > /home/luke/Desktop/moje/mini2440/arm-2008q3/bin/arm-none-linux-gnueabi-gcc > luke@domain.hid$ echo $PATH > /home/luke/Desktop/moje/mini2440/arm-2008q3/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games > > No adequate info in the TROUBLESHOOTING. > > Am doing something wrong? Help me out please. > > regards, > -- > Łukasz Dragilla Sacha > ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Xenomai-help] configuring user-space xenomai 2.6 2011-10-31 12:35 ` Łukasz Sacha @ 2011-10-31 12:52 ` Łukasz Sacha 2011-10-31 13:13 ` Gilles Chanteperdrix 0 siblings, 1 reply; 12+ messages in thread From: Łukasz Sacha @ 2011-10-31 12:52 UTC (permalink / raw) To: xenomai This is the line configure generated to test whether compiler works: arm-none-linux-gnueabi-gcc –march=armv4t –mtune=arm920t -o conftest -march=armv4t -march=armv4t conftest.c (notice tripple -march=armv4t) when I execute it it gives me: arm-none-linux-gnueabi-gcc: –march=armv4t: No such file or directory arm-none-linux-gnueabi-gcc: –mtune=arm920t: No such file or directory arm-none-linux-gnueabi-gcc: conftest.c: No such file or directory arm-none-linux-gnueabi-gcc: no input files However with a single -march=armv4t it doesn't work either. luke@domain.hid$ arm-none-linux-gnueabi-gcc -march=armv4t –mtune=arm920t -o conftest conftest.c arm-none-linux-gnueabi-gcc: –mtune=arm920t: No such file or directory arm-none-linux-gnueabi-gcc: conftest.c: No such file or directory arm-none-linux-gnueabi-gcc: no input files .. which is strange, because arm-none-linux-gnueabi-gcc --help tells me all the options are ok: "Options starting with -g, -f, -m, -O, -W, or --param are automatically passed on to the various sub-processes invoked by arm-none-linux-gnueabi-gcc." Seems -mtune is not recognized by some subprocess, but which and why? cheers :) -- Łukasz Dragilla Sacha On Mon, Oct 31, 2011 at 13:35, Łukasz Sacha <dragilla@domain.hid> wrote: > I think I've identified the problem. > There might be inconsistency in the script. In the README_INSTALL you > write to give --host without the ending "-" whereas in the example it > states to give --host=arm-none-linux-gnueabi- > This is what happens when I write the host without the ending "-". > > luke@domain.hid$ ./configure > CFLAGS="-march=armv4t" LDFLAGS="-march=armv4t" > --host=arm-none-linux-gnueabi --build=i686-pc-linux-gnu > checking build system type... i686-pc-linux-gnu > checking host system type... arm-none-linux-gnueabi > checking for a BSD-compatible install... /usr/bin/install -c > checking for arm-none-linux-gnueabi-gcc... arm-none-linux-gnueabi-gcc > –march=armv4t –mtune=arm920t > checking whether the C compiler works... no > configure: error: in `/home/luke/Desktop/moje/mini2440/xenomai-2.6.0-rc5': > configure: error: C compiler cannot create executables > See `config.log' for more details > > Any ideas? > -- > Łukasz Dragilla Sacha > > > > On Mon, Oct 31, 2011 at 13:14, Łukasz Sacha <dragilla@domain.hid> wrote: >> Hey, >> >> I'm following README_INSTALL from the xenoami 2.6 tree. I successfully >> patched and built the kernel 2.6.38.8 and modules. Now I'm trying to >> configure the user-space. >> I'm running the configure command as given in the example: >> ./configure CFLAGS="-march=armv4t" LDFLAGS="-march=armv4t" >> --host=arm-none-linux-gnueabi- --build=i686-pc-linux-gnu >> I get the following error: >> checking build system type... i686-pc-linux-gnu >> checking host system type... Invalid configuration >> `arm-none-linux-gnueabi-': machine `arm-none-linux-gnueabi' not >> recognized >> configure: error: /bin/bash config/config.sub arm-none-linux-gnueabi- failed >> >> This is how my environment is setup: >> luke@domain.hid$ which >> arm-none-linux-gnueabi-gcc >> /home/luke/Desktop/moje/mini2440/arm-2008q3/bin/arm-none-linux-gnueabi-gcc >> luke@domain.hid$ echo $PATH >> /home/luke/Desktop/moje/mini2440/arm-2008q3/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games >> >> No adequate info in the TROUBLESHOOTING. >> >> Am doing something wrong? Help me out please. >> >> regards, >> -- >> Łukasz Dragilla Sacha >> > ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Xenomai-help] configuring user-space xenomai 2.6 2011-10-31 12:52 ` Łukasz Sacha @ 2011-10-31 13:13 ` Gilles Chanteperdrix 2011-10-31 13:20 ` Patrice Kadionik 2011-10-31 13:23 ` Łukasz Sacha 0 siblings, 2 replies; 12+ messages in thread From: Gilles Chanteperdrix @ 2011-10-31 13:13 UTC (permalink / raw) To: Łukasz Sacha; +Cc: xenomai On 10/31/2011 01:52 PM, Łukasz Sacha wrote: > This is the line configure generated to test whether compiler works: > arm-none-linux-gnueabi-gcc –march=armv4t –mtune=arm920t -o conftest > -march=armv4t -march=armv4t conftest.c > (notice tripple -march=armv4t) > > when I execute it it gives me: > arm-none-linux-gnueabi-gcc: –march=armv4t: No such file or directory > arm-none-linux-gnueabi-gcc: –mtune=arm920t: No such file or directory > arm-none-linux-gnueabi-gcc: conftest.c: No such file or directory > arm-none-linux-gnueabi-gcc: no input files > > However with a single -march=armv4t it doesn't work either. > luke@domain.hid$ > arm-none-linux-gnueabi-gcc -march=armv4t –mtune=arm920t -o conftest > conftest.c > arm-none-linux-gnueabi-gcc: –mtune=arm920t: No such file or directory > arm-none-linux-gnueabi-gcc: conftest.c: No such file or directory > arm-none-linux-gnueabi-gcc: no input files > > .. which is strange, because arm-none-linux-gnueabi-gcc --help tells > me all the options are ok: > "Options starting with -g, -f, -m, -O, -W, or --param are automatically > passed on to the various sub-processes invoked by arm-none-linux-gnueabi-gcc." > > Seems -mtune is not recognized by some subprocess, but which and why? > > cheers :) Strange toolchain. I use codesourcery toolchain and never observed such behaviour. You should make sure the toolchain you use works before trying and compiling xenomai. -- Gilles. ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Xenomai-help] configuring user-space xenomai 2.6 2011-10-31 13:13 ` Gilles Chanteperdrix @ 2011-10-31 13:20 ` Patrice Kadionik 2011-10-31 13:29 ` Łukasz Sacha 2011-10-31 13:23 ` Łukasz Sacha 1 sibling, 1 reply; 12+ messages in thread From: Patrice Kadionik @ 2011-10-31 13:20 UTC (permalink / raw) To: xenomai Le 31/10/2011 14:13, Gilles Chanteperdrix a écrit : Hi, You have perhaps followed this tutorial for mini2440 (I've worked on this board in july ;-) ): http://code.google.com/p/friendlyarm/wiki/Linux_Tutorial Please try to unset CC and CROSS_COMPILE. Pat. > On 10/31/2011 01:52 PM, Łukasz Sacha wrote: >> This is the line configure generated to test whether compiler works: >> arm-none-linux-gnueabi-gcc –march=armv4t –mtune=arm920t -o conftest >> -march=armv4t -march=armv4t conftest.c >> (notice tripple -march=armv4t) >> >> when I execute it it gives me: >> arm-none-linux-gnueabi-gcc: –march=armv4t: No such file or directory >> arm-none-linux-gnueabi-gcc: –mtune=arm920t: No such file or directory >> arm-none-linux-gnueabi-gcc: conftest.c: No such file or directory >> arm-none-linux-gnueabi-gcc: no input files >> >> However with a single -march=armv4t it doesn't work either. >> luke@domain.hid$ >> arm-none-linux-gnueabi-gcc -march=armv4t –mtune=arm920t -o conftest >> conftest.c >> arm-none-linux-gnueabi-gcc: –mtune=arm920t: No such file or directory >> arm-none-linux-gnueabi-gcc: conftest.c: No such file or directory >> arm-none-linux-gnueabi-gcc: no input files >> >> .. which is strange, because arm-none-linux-gnueabi-gcc --help tells >> me all the options are ok: >> "Options starting with -g, -f, -m, -O, -W, or --param are automatically >> passed on to the various sub-processes invoked by arm-none-linux-gnueabi-gcc." >> >> Seems -mtune is not recognized by some subprocess, but which and why? >> >> cheers :) > Strange toolchain. I use codesourcery toolchain and never observed such > behaviour. You should make sure the toolchain you use works before > trying and compiling xenomai. > -- Patrice Kadionik. F6KQH / F4CUQ ----------- +----------------------------------------------------------------------+ +"Tout doit etre aussi simple que possible, pas seulement plus simple" + +----------------------------------------------------------------------+ + Patrice Kadionik http://www.enseirb-matmeca.fr/~kadionik + + IMS Laboratory http://www.ims-bordeaux.fr/ + + ENSEIRB-MATMECA http://www.enseirb-matmeca.fr + + PO BOX 99 fax : +33 5.56.37.20.23 + + 33402 TALENCE Cedex voice : +33 5.56.84.23.47 + + FRANCE + +----------------------------------------------------------------------+ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Xenomai-help] configuring user-space xenomai 2.6 2011-10-31 13:20 ` Patrice Kadionik @ 2011-10-31 13:29 ` Łukasz Sacha 2011-10-31 13:45 ` Łukasz Sacha 0 siblings, 1 reply; 12+ messages in thread From: Łukasz Sacha @ 2011-10-31 13:29 UTC (permalink / raw) To: Patrice Kadionik; +Cc: xenomai Yes you were right! That helped - thank you. -- Łukasz Dragilla Sacha On Mon, Oct 31, 2011 at 14:20, Patrice Kadionik <kadionik@domain.hid> wrote: > Le 31/10/2011 14:13, Gilles Chanteperdrix a écrit : > > Hi, > > You have perhaps followed this tutorial for mini2440 (I've worked on this > board in july ;-) ): > http://code.google.com/p/friendlyarm/wiki/Linux_Tutorial > > Please try to unset CC and CROSS_COMPILE. > > Pat. > > >> On 10/31/2011 01:52 PM, Łukasz Sacha wrote: >>> >>> This is the line configure generated to test whether compiler works: >>> arm-none-linux-gnueabi-gcc –march=armv4t –mtune=arm920t -o conftest >>> -march=armv4t -march=armv4t conftest.c >>> (notice tripple -march=armv4t) >>> >>> when I execute it it gives me: >>> arm-none-linux-gnueabi-gcc: –march=armv4t: No such file or directory >>> arm-none-linux-gnueabi-gcc: –mtune=arm920t: No such file or directory >>> arm-none-linux-gnueabi-gcc: conftest.c: No such file or directory >>> arm-none-linux-gnueabi-gcc: no input files >>> >>> However with a single -march=armv4t it doesn't work either. >>> luke@domain.hid$ >>> arm-none-linux-gnueabi-gcc -march=armv4t –mtune=arm920t -o conftest >>> conftest.c >>> arm-none-linux-gnueabi-gcc: –mtune=arm920t: No such file or directory >>> arm-none-linux-gnueabi-gcc: conftest.c: No such file or directory >>> arm-none-linux-gnueabi-gcc: no input files >>> >>> .. which is strange, because arm-none-linux-gnueabi-gcc --help tells >>> me all the options are ok: >>> "Options starting with -g, -f, -m, -O, -W, or --param are automatically >>> passed on to the various sub-processes invoked by >>> arm-none-linux-gnueabi-gcc." >>> >>> Seems -mtune is not recognized by some subprocess, but which and why? >>> >>> cheers :) >> >> Strange toolchain. I use codesourcery toolchain and never observed such >> behaviour. You should make sure the toolchain you use works before >> trying and compiling xenomai. >> > > > -- > Patrice Kadionik. F6KQH / F4CUQ > ----------- > > +----------------------------------------------------------------------+ > +"Tout doit etre aussi simple que possible, pas seulement plus simple" + > +----------------------------------------------------------------------+ > + Patrice Kadionik http://www.enseirb-matmeca.fr/~kadionik + > + IMS Laboratory http://www.ims-bordeaux.fr/ + > + ENSEIRB-MATMECA http://www.enseirb-matmeca.fr + > + PO BOX 99 fax : +33 5.56.37.20.23 + > + 33402 TALENCE Cedex voice : +33 5.56.84.23.47 + > + FRANCE + > +----------------------------------------------------------------------+ > > > _______________________________________________ > Xenomai-help mailing list > Xenomai-help@domain.hid > https://mail.gna.org/listinfo/xenomai-help > ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Xenomai-help] configuring user-space xenomai 2.6 2011-10-31 13:29 ` Łukasz Sacha @ 2011-10-31 13:45 ` Łukasz Sacha 2011-10-31 13:48 ` Łukasz Sacha 0 siblings, 1 reply; 12+ messages in thread From: Łukasz Sacha @ 2011-10-31 13:45 UTC (permalink / raw) To: Patrice Kadionik; +Cc: xenomai The README.INSTALL ends with compilation of the user-space. What next? How to install a skin? regards, -- Łukasz Dragilla Sacha On Mon, Oct 31, 2011 at 14:29, Łukasz Sacha <dragilla@domain.hid> wrote: > Yes you were right! That helped - thank you. > -- > Łukasz Dragilla Sacha > > > > On Mon, Oct 31, 2011 at 14:20, Patrice Kadionik > <kadionik@domain.hid> wrote: >> Le 31/10/2011 14:13, Gilles Chanteperdrix a écrit : >> >> Hi, >> >> You have perhaps followed this tutorial for mini2440 (I've worked on this >> board in july ;-) ): >> http://code.google.com/p/friendlyarm/wiki/Linux_Tutorial >> >> Please try to unset CC and CROSS_COMPILE. >> >> Pat. >> >> >>> On 10/31/2011 01:52 PM, Łukasz Sacha wrote: >>>> >>>> This is the line configure generated to test whether compiler works: >>>> arm-none-linux-gnueabi-gcc –march=armv4t –mtune=arm920t -o conftest >>>> -march=armv4t -march=armv4t conftest.c >>>> (notice tripple -march=armv4t) >>>> >>>> when I execute it it gives me: >>>> arm-none-linux-gnueabi-gcc: –march=armv4t: No such file or directory >>>> arm-none-linux-gnueabi-gcc: –mtune=arm920t: No such file or directory >>>> arm-none-linux-gnueabi-gcc: conftest.c: No such file or directory >>>> arm-none-linux-gnueabi-gcc: no input files >>>> >>>> However with a single -march=armv4t it doesn't work either. >>>> luke@domain.hid$ >>>> arm-none-linux-gnueabi-gcc -march=armv4t –mtune=arm920t -o conftest >>>> conftest.c >>>> arm-none-linux-gnueabi-gcc: –mtune=arm920t: No such file or directory >>>> arm-none-linux-gnueabi-gcc: conftest.c: No such file or directory >>>> arm-none-linux-gnueabi-gcc: no input files >>>> >>>> .. which is strange, because arm-none-linux-gnueabi-gcc --help tells >>>> me all the options are ok: >>>> "Options starting with -g, -f, -m, -O, -W, or --param are automatically >>>> passed on to the various sub-processes invoked by >>>> arm-none-linux-gnueabi-gcc." >>>> >>>> Seems -mtune is not recognized by some subprocess, but which and why? >>>> >>>> cheers :) >>> >>> Strange toolchain. I use codesourcery toolchain and never observed such >>> behaviour. You should make sure the toolchain you use works before >>> trying and compiling xenomai. >>> >> >> >> -- >> Patrice Kadionik. F6KQH / F4CUQ >> ----------- >> >> +----------------------------------------------------------------------+ >> +"Tout doit etre aussi simple que possible, pas seulement plus simple" + >> +----------------------------------------------------------------------+ >> + Patrice Kadionik http://www.enseirb-matmeca.fr/~kadionik + >> + IMS Laboratory http://www.ims-bordeaux.fr/ + >> + ENSEIRB-MATMECA http://www.enseirb-matmeca.fr + >> + PO BOX 99 fax : +33 5.56.37.20.23 + >> + 33402 TALENCE Cedex voice : +33 5.56.84.23.47 + >> + FRANCE + >> +----------------------------------------------------------------------+ >> >> >> _______________________________________________ >> Xenomai-help mailing list >> Xenomai-help@domain.hid >> https://mail.gna.org/listinfo/xenomai-help >> > ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Xenomai-help] configuring user-space xenomai 2.6 2011-10-31 13:45 ` Łukasz Sacha @ 2011-10-31 13:48 ` Łukasz Sacha 2011-10-31 13:54 ` Gilles Chanteperdrix 0 siblings, 1 reply; 12+ messages in thread From: Łukasz Sacha @ 2011-10-31 13:48 UTC (permalink / raw) To: xenomai quote from README.INSTALL: "Finally, Xenomai build system also allows building a Xenomai patchedkernel as part of the user space support compilation process. Section1.4 documents this possibility." There is no section 1.4 :( regards,-- Łukasz Dragilla Sacha On Mon, Oct 31, 2011 at 14:45, Łukasz Sacha <dragilla@domain.hid> wrote: > The README.INSTALL ends with compilation of the user-space. What next? > How to install a skin? > > regards, > -- > Łukasz Dragilla Sacha > > > > On Mon, Oct 31, 2011 at 14:29, Łukasz Sacha <dragilla@domain.hid> wrote: >> Yes you were right! That helped - thank you. >> -- >> Łukasz Dragilla Sacha >> >> >> >> On Mon, Oct 31, 2011 at 14:20, Patrice Kadionik >> <kadionik@domain.hid> wrote: >>> Le 31/10/2011 14:13, Gilles Chanteperdrix a écrit : >>> >>> Hi, >>> >>> You have perhaps followed this tutorial for mini2440 (I've worked on this >>> board in july ;-) ): >>> http://code.google.com/p/friendlyarm/wiki/Linux_Tutorial >>> >>> Please try to unset CC and CROSS_COMPILE. >>> >>> Pat. >>> >>> >>>> On 10/31/2011 01:52 PM, Łukasz Sacha wrote: >>>>> >>>>> This is the line configure generated to test whether compiler works: >>>>> arm-none-linux-gnueabi-gcc –march=armv4t –mtune=arm920t -o conftest >>>>> -march=armv4t -march=armv4t conftest.c >>>>> (notice tripple -march=armv4t) >>>>> >>>>> when I execute it it gives me: >>>>> arm-none-linux-gnueabi-gcc: –march=armv4t: No such file or directory >>>>> arm-none-linux-gnueabi-gcc: –mtune=arm920t: No such file or directory >>>>> arm-none-linux-gnueabi-gcc: conftest.c: No such file or directory >>>>> arm-none-linux-gnueabi-gcc: no input files >>>>> >>>>> However with a single -march=armv4t it doesn't work either. >>>>> luke@domain.hid$ >>>>> arm-none-linux-gnueabi-gcc -march=armv4t –mtune=arm920t -o conftest >>>>> conftest.c >>>>> arm-none-linux-gnueabi-gcc: –mtune=arm920t: No such file or directory >>>>> arm-none-linux-gnueabi-gcc: conftest.c: No such file or directory >>>>> arm-none-linux-gnueabi-gcc: no input files >>>>> >>>>> .. which is strange, because arm-none-linux-gnueabi-gcc --help tells >>>>> me all the options are ok: >>>>> "Options starting with -g, -f, -m, -O, -W, or --param are automatically >>>>> passed on to the various sub-processes invoked by >>>>> arm-none-linux-gnueabi-gcc." >>>>> >>>>> Seems -mtune is not recognized by some subprocess, but which and why? >>>>> >>>>> cheers :) >>>> >>>> Strange toolchain. I use codesourcery toolchain and never observed such >>>> behaviour. You should make sure the toolchain you use works before >>>> trying and compiling xenomai. >>>> >>> >>> >>> -- >>> Patrice Kadionik. F6KQH / F4CUQ >>> ----------- >>> >>> +----------------------------------------------------------------------+ >>> +"Tout doit etre aussi simple que possible, pas seulement plus simple" + >>> +----------------------------------------------------------------------+ >>> + Patrice Kadionik http://www.enseirb-matmeca.fr/~kadionik + >>> + IMS Laboratory http://www.ims-bordeaux.fr/ + >>> + ENSEIRB-MATMECA http://www.enseirb-matmeca.fr + >>> + PO BOX 99 fax : +33 5.56.37.20.23 + >>> + 33402 TALENCE Cedex voice : +33 5.56.84.23.47 + >>> + FRANCE + >>> +----------------------------------------------------------------------+ >>> >>> >>> _______________________________________________ >>> Xenomai-help mailing list >>> Xenomai-help@domain.hid >>> https://mail.gna.org/listinfo/xenomai-help >>> >> > ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Xenomai-help] configuring user-space xenomai 2.6 2011-10-31 13:48 ` Łukasz Sacha @ 2011-10-31 13:54 ` Gilles Chanteperdrix 2011-10-31 13:58 ` Łukasz Sacha 0 siblings, 1 reply; 12+ messages in thread From: Gilles Chanteperdrix @ 2011-10-31 13:54 UTC (permalink / raw) To: Łukasz Sacha; +Cc: xenomai On 10/31/2011 02:48 PM, Łukasz Sacha wrote: > quote from README.INSTALL: "Finally, Xenomai build system also allows > building a Xenomai patchedkernel as part of the user space support > compilation process. Section1.4 documents this possibility." > > There is no section 1.4 :( That is because this option was removed in xenomai 2.6, it was not very useful anyway, as compiling a kernel is not complicated anyway. Will remove the sentence, thanks. To start using xenomai, you simply have to run make install, then copy the installed file to the embedded root filesystem. I already gave you URLs for documents giving a bit more details on how to use the native and posix skins. Also, could you avoid top-posting? -- Gilles. ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Xenomai-help] configuring user-space xenomai 2.6 2011-10-31 13:54 ` Gilles Chanteperdrix @ 2011-10-31 13:58 ` Łukasz Sacha 0 siblings, 0 replies; 12+ messages in thread From: Łukasz Sacha @ 2011-10-31 13:58 UTC (permalink / raw) To: xenomai On Mon, Oct 31, 2011 at 14:54, Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> wrote: > To start using xenomai, you simply have to run make install, then copy > the installed file to the embedded root filesystem. So both skins are included in xenomai by default and which I chose depends on my lking only (assuming both are switched on in the kernel)? > I already gave you URLs for documents giving a bit more details on how > to use the native and posix skins. yes, thank you. > Also, could you avoid top-posting? Yes, of course. Sorry about that. regards, -- LS ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Xenomai-help] configuring user-space xenomai 2.6 2011-10-31 13:13 ` Gilles Chanteperdrix 2011-10-31 13:20 ` Patrice Kadionik @ 2011-10-31 13:23 ` Łukasz Sacha 2011-10-31 13:33 ` Gilles Chanteperdrix 1 sibling, 1 reply; 12+ messages in thread From: Łukasz Sacha @ 2011-10-31 13:23 UTC (permalink / raw) To: xenomai I used the toolchain from codesourcery (http://www.codesourcery.com/sgpp/lite/arm/portal/package3696/public/arm-none-linux-gnueabi/arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2). The one downloaded from the ubuntu repos behaves the same way. -- Łukasz Dragilla Sacha On Mon, Oct 31, 2011 at 14:13, Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> wrote: > On 10/31/2011 01:52 PM, Łukasz Sacha wrote: >> This is the line configure generated to test whether compiler works: >> arm-none-linux-gnueabi-gcc –march=armv4t –mtune=arm920t -o conftest >> -march=armv4t -march=armv4t conftest.c >> (notice tripple -march=armv4t) >> >> when I execute it it gives me: >> arm-none-linux-gnueabi-gcc: –march=armv4t: No such file or directory >> arm-none-linux-gnueabi-gcc: –mtune=arm920t: No such file or directory >> arm-none-linux-gnueabi-gcc: conftest.c: No such file or directory >> arm-none-linux-gnueabi-gcc: no input files >> >> However with a single -march=armv4t it doesn't work either. >> luke@domain.hid$ >> arm-none-linux-gnueabi-gcc -march=armv4t –mtune=arm920t -o conftest >> conftest.c >> arm-none-linux-gnueabi-gcc: –mtune=arm920t: No such file or directory >> arm-none-linux-gnueabi-gcc: conftest.c: No such file or directory >> arm-none-linux-gnueabi-gcc: no input files >> >> .. which is strange, because arm-none-linux-gnueabi-gcc --help tells >> me all the options are ok: >> "Options starting with -g, -f, -m, -O, -W, or --param are automatically >> passed on to the various sub-processes invoked by arm-none-linux-gnueabi-gcc." >> >> Seems -mtune is not recognized by some subprocess, but which and why? >> >> cheers :) > > Strange toolchain. I use codesourcery toolchain and never observed such > behaviour. You should make sure the toolchain you use works before > trying and compiling xenomai. > > -- > Gilles. > > ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Xenomai-help] configuring user-space xenomai 2.6 2011-10-31 13:23 ` Łukasz Sacha @ 2011-10-31 13:33 ` Gilles Chanteperdrix 0 siblings, 0 replies; 12+ messages in thread From: Gilles Chanteperdrix @ 2011-10-31 13:33 UTC (permalink / raw) To: Łukasz Sacha; +Cc: xenomai On 10/31/2011 02:23 PM, Łukasz Sacha wrote: > I used the toolchain from codesourcery > (http://www.codesourcery.com/sgpp/lite/arm/portal/package3696/public/arm-none-linux-gnueabi/arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2). > The one downloaded from the ubuntu repos behaves the same way. Something is broken in you environment, like an environment variable set or a wrapper script intercepting the arm-none-linux-gnueabi-gcc command. Because codesourey toolchains work, there is no doubt about that. 2008q3 is a bit old, but it works, no matter the number of -march=armv4t on the command line. -- Gilles. ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2011-10-31 13:58 UTC | newest] Thread overview: 12+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-10-31 12:14 [Xenomai-help] configuring user-space xenomai 2.6 Łukasz Sacha 2011-10-31 12:35 ` Łukasz Sacha 2011-10-31 12:52 ` Łukasz Sacha 2011-10-31 13:13 ` Gilles Chanteperdrix 2011-10-31 13:20 ` Patrice Kadionik 2011-10-31 13:29 ` Łukasz Sacha 2011-10-31 13:45 ` Łukasz Sacha 2011-10-31 13:48 ` Łukasz Sacha 2011-10-31 13:54 ` Gilles Chanteperdrix 2011-10-31 13:58 ` Łukasz Sacha 2011-10-31 13:23 ` Łukasz Sacha 2011-10-31 13:33 ` Gilles Chanteperdrix
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.