All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Daniele Pagani <danielepagani@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] xenomai on Blackfin BF537
Date: Mon, 01 Dec 2008 16:08:14 +0100	[thread overview]
Message-ID: <4933FDDE.5060007@domain.hid> (raw)
In-Reply-To: <006901c953c4$11e18ea0$0f01a8c0@domain.hid>

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" <rpm@xenomai.org>
> To: "Daniele Pagani" <danielepagani@domain.hid>
> Cc: <xenomai@xenomai.org>
> 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
>>> Xenomai-help@domain.hid
>>> 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.


  reply	other threads:[~2008-12-01 15:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-01 13:59 [Xenomai-help] xenomai on Blackfin BF537 Daniele Pagani
2008-12-01 14:11 ` Philippe Gerum
2008-12-01 14:49   ` Daniele Pagani
2008-12-01 15:08     ` Philippe Gerum [this message]
2008-12-02  9:01       ` Daniele Pagani
2008-12-02  9:15         ` Philippe Gerum
2008-12-02  9:42           ` Daniele Pagani
2008-12-02  9:48             ` Philippe Gerum

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4933FDDE.5060007@domain.hid \
    --to=rpm@xenomai.org \
    --cc=danielepagani@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.