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: Question about porting applications to eCOS


Tim Michals wrote:
> 
> All,
> 
> Currently porting a couple of applications to eCOS, each application uses
> the ./configure (uses automake) tools.  The question is: How do you point
> the automake to eCOS includes and cross compilers?  This would help porting
> Unix type of applications to eCOS?

The difference should only be in the compile and link lines. So try setting
CFLAGS and LDFLAGS when you make. Or perhaps configure with "CC=foo-elf-gcc
-I/ecos/install/include" etc.

However not every tool expects to be cross-compiled, and will fail because
they'll try to detect features by running programs (which won't work
because it would have to be run on the target), so for that, the only way
to get it to work would be to hack at its configuration. That isn't
specific to eCos of course.

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
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions    http://www.redhat-techworld.com/


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