This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: eCos 1Aug release ARM7 posix build error.


I have recompiled to GCC 2.95.3.  The error message is gone.
The library file & startup files compiles with no error.

I wish the eCos will work soon with GCC3.0.  Which enhanced a lot
in the optimizing ARM7TDMI with THUMB & ARM instruction sets.

However, anyone knows I can use THUMB & ARM mixed code with
eCos libraries (created with GCC 2.95.3)?  GCC2.95.3 seems not suppose 
to have mixed codes? (Please correct if I am wrong).

Any idea?

Thanks a lot.
Felix.



-----Original Message-----
From: ecos-discuss-owner@sources.redhat.com [mailto:ecos-discuss-owner@sources.redhat.com]On Behalf Of Jonathan Larmour
Sent: Monday, August 06, 2001 9:00 AM
To: felixwong@i-technologies.cc
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] eCos 1Aug release ARM7 posix build error.


felixwong@i-technologies.cc wrote:
> 
> Hello,
> 
> Anyone tried the current release of eCos with "arm-elf-gcc" tools?
> I tried severial platforms & select the template of POSIX (e.g. for Atmel EB40 board).
> 
> The conflict part didn't shown any error or warnings.
> However, during compilation an error message occurs:
> /cvs/ecos/packages/compat/posix/current/src/mqueue.cxx:73:48:new:No such file or directory.

You are building with GCC 3.0, rather than 2.95 as we are still
recommending for arm-elf - partly for reasons like this :-). We are
updating our sources to work with the gcc 3.0, but this still isn't
complete.

You can avoid this problem by recompiling your tools - but this time also
check out newlib (http://sources.redhat.com/newlib ). Then in your gcc
source tree, at the top level (where there are directories like bfd config
include gcc libstdc++-v3 etc.) symlink the newlib and libgloss directories
in, e.g.

ln -s PATHTOCHECKOUTNEWLIB/src/newlib
ln -s PATHTOCHECKOUTNEWLIB/src/libgloss

Now rebuild gcc from scratch and instead of using "make all-gcc
install-gcc" use "make all install".

This should hold off the problem until the transition in the eCos sources
is complete.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]