Daniele Pagani wrote: > Dear Philippe, > > I've tried, anyway I receive errors. > > In attachment, my makefile and error executing it. >
-mfdpic > Bf537 - uClinux-dist-2008R1.5-RC3. > > Best regards, > Daniele. > > > ----- Original Message ----- From: "Philippe Gerum" <[EMAIL PROTECTED]> > To: "Daniele Pagani" <[EMAIL PROTECTED]> > Cc: <[email protected]> > Sent: Monday, December 01, 2008 4:08 PM > Subject: Re: [Xenomai-help] xenomai on Blackfin BF537 > > >> Daniele Pagani wrote: >>> Dear Philippe, >>> >>> thank you very much for your very fast answer. >>> >>> Anyway, please consider that I'm newbie about the matter, >>> so, >>> where I need to write these lines? >>> >>> I find in: >>> /mnt/uClinux-dist-2008R1.5-RC3/staging/usr/bin >>> the xeno-config command. >>> >>> Then, I run: >>> ./xeno-config --xeno-cflags >>> ./xeno-config --xeno-ldflags >>> >> >> As you may have noticed, those commands output a set of compilation >> and link >> flags. Copy&paste this output verbatim respectively to the CFLAGS and >> LDFLAGS >> variables from your Makefile to build your application. >> >>> Then, what I need to do? >>> Do I need to recompile the kernel? >>> >> >> No. >> >>> Best regards, >>> Daniele. >>> >>> ----- Original Message ----- From: "Philippe Gerum" <[EMAIL PROTECTED]> >>> To: "Daniele Pagani" <[EMAIL PROTECTED]> >>> Cc: <[email protected]> >>> Sent: Monday, December 01, 2008 3:11 PM >>> Subject: Re: [Xenomai-help] xenomai on Blackfin BF537 >>> >>> >>>> Daniele Pagani wrote: >>>>> >>>>> Dear Sirs, >>>>> I'm using Xenomai with uclinux-dist-2008R1.5 on bf537. >>>>> >>>>> Then, it is possible to use native api with a fdpic elf format? >>>>> >>>>> I receive warning like "relocation references a different segment". >>>>> >>>>> I compile with bfin-linux-uclibc-gcc .... -lnative. >>>>> >>>> >>>> We do use the fdpic format for all libs on blackfin. >>>> >>>> xeno-config --cflags >>>> xeno-config --ldflags >>>> >>>> should be used to get the proper compilation/link flags. >>>> >>>>> In my code I create 2 real time tasks. >>>>> >>>>> All works fine when I use flat format, but now I need to use fdpic elf >>>>> format and I receive errors.x >>>>> >>>>> Best regards, >>>>> Daniele. >>>>> >>>>> >>>>> ------------------------------------------------------------------------ >>>>> >>>>> >>>>> _______________________________________________ >>>>> Xenomai-help mailing list >>>>> [email protected] >>>>> https://mail.gna.org/listinfo/xenomai-help >>>> >>>> >>>> -- >>>> Philippe. >>>> >>>> >>>> >>>> -- >>>> No virus found in this incoming message. >>>> Checked by AVG. >>>> Version: 7.5.552 / Virus Database: 270.9.12/1821 - Release Date: >>>> 30/11/2008 17.53 >>>> >>>> >>> >>> >> >> >> -- >> Philippe. >> >> >> >> -- >> No virus found in this incoming message. >> Checked by AVG. >> Version: 7.5.552 / Virus Database: 270.9.12/1821 - Release Date: >> 30/11/2008 17.53 >> >> -- Philippe. _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
