public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] configure and cross compilation
@ 2006-07-11 18:27 Jacek Poplawski
  2006-07-12 13:05 ` Gary Thomas
  0 siblings, 1 reply; 3+ messages in thread
From: Jacek Poplawski @ 2006-07-11 18:27 UTC (permalink / raw)
  To: ecos-discuss

I am trying to compile CVS version of ecos/RedBoot.

How to specify which toolchain configure should use?
I tried that way:

../ecos/configure --target=xscale-elf

But used compiler name is still "gcc", not "xscale-elf-gcc".
Should I make symbolic links?

Could you point me to the documentation describing how to compile current
version of RedBoot?

-- 
Jacek Poplawski
Software Engineer
Silicon and Software Systems
http://www.s3group.com



The information contained in this e-mail and in any attachments is confidential and is designated solely for the attention of the intended recipient(s). If you are not an intended recipient, you must not use, disclose, copy, distribute or retain this e-mail or any part thereof. If you have received this e-mail in error, please notify the sender by return e-mail and delete all copies of this e-mail from your computer system(s).
Please direct any additional queries to: communications@s3group.com.
Thank You.

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] configure and cross compilation
  2006-07-11 18:27 [ECOS] configure and cross compilation Jacek Poplawski
@ 2006-07-12 13:05 ` Gary Thomas
  0 siblings, 0 replies; 3+ messages in thread
From: Gary Thomas @ 2006-07-12 13:05 UTC (permalink / raw)
  To: Jacek Poplawski; +Cc: ecos-discuss

Jacek Poplawski wrote:
> I am trying to compile CVS version of ecos/RedBoot.
> 
> How to specify which toolchain configure should use?
> I tried that way:
> 
> ../ecos/configure --target=xscale-elf
> 
> But used compiler name is still "gcc", not "xscale-elf-gcc".
> Should I make symbolic links?
> 
> Could you point me to the documentation describing how to compile current
> version of RedBoot?
> 

This is not how you build an eCos application [RedBoot is just
such an eCos application]

The basic steps are:
   0.1 Set up your [cross-development] tool chain
   0.2 Set up 'ecosconfig' and/or 'configtool'
       These steps need to be executed only once.  More information can be
       found at: http://ecos.sourceware.org/getstart.html
   0.3 Download the latest eCos sources
       It's recommended to download eCos from CVS, rather than the older 2.0
       release.
   1.0 Create the basic eCos configuration.  This involves
       a) selecting a target and environment template
       b) optionally modifying the eCos configuration
       c) generate a build tree
   2.0 Build your application, using make

For example, to build eCos for the iq80321 (ARM XScale board)
   % mkdir ecos_iq80321
   % cd ecos_iq80321
   % ecosconfig new iq80321 redboot
   % ecosconfig tree
   % make


-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] configure and cross compilation
@ 2006-07-12 16:12 Jacek Poplawski
  0 siblings, 0 replies; 3+ messages in thread
From: Jacek Poplawski @ 2006-07-12 16:12 UTC (permalink / raw)
  To: Gary Thomas; +Cc: ecos-discuss

Hello Gary,

> This is not how you build an eCos application [RedBoot is just
> such an eCos application]

Yes, later last afternoon I was able to compile it in usual way, with
ecosconfig and make. I just have seen ./configure so I thought that's the
current proper way.

>    % mkdir ecos_iq80321
>    % cd ecos_iq80321
>    % ecosconfig new iq80321 redboot
>    % ecosconfig tree
>    % make

I do the same, but I use command line arguments (like --srcdir) instead
environment variables. I also use very old ecosconfig (from RedBoot much
older than 2.0).

I build RedBoot for ixp425, put it on ixp2801 board and of course crashed
it :) But at least now I know how to build current version of RedBoot and
I can start searching for differences with 2801.

Thanks for help.

-- 
Jacek Poplawski
Software Engineer
Silicon and Software Systems
http://www.s3group.com



The information contained in this e-mail and in any attachments is confidential and is designated solely for the attention of the intended recipient(s). If you are not an intended recipient, you must not use, disclose, copy, distribute or retain this e-mail or any part thereof. If you have received this e-mail in error, please notify the sender by return e-mail and delete all copies of this e-mail from your computer system(s).
Please direct any additional queries to: communications@s3group.com.
Thank You.

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-07-12 16:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-11 18:27 [ECOS] configure and cross compilation Jacek Poplawski
2006-07-12 13:05 ` Gary Thomas
2006-07-12 16:12 Jacek Poplawski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).