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]
Other format: [Raw text]

Trying to build sample apps


Hello,

I've been able to get the tests running correctly, and I am now trying
to take the next step and build the sample applications in the user
guide.  I'm quite confused about the correct paths to compile/build the
files.  I've been going back and forth especially between chapters 11
and 13, and I can't quite figure what I'm doing wrong.  The output from
my cygwin window is below. Any help would be appreciated!

Mike Trozzo


Mike@LAPTOP /opt/ecos/ecos-2.0/examples
$ gcc --version
gcc (GCC) 3.2 20020927 (prerelease)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

Mike@LAPTOP /opt/ecos/ecos-2.0/examples
$ gcc
gcc: no input files

Mike@LAPTOP /opt/ecos/ecos-2.0/examples
$ i386-elf-gcc -g -IBASE_DIR/work1/host2_install/include hello.c
-LBASE_DIR/wor
k1/host2_install/lib _Ttarget.ld -nostdlib
bash: i386-elf-gcc: command not found

Mike@LAPTOP /opt/ecos/ecos-2.0
$ ls
COPYING      Makefile.in  acinclude.m4  buildid.txt   doc       examples
ChangeLog    README.host  aclocal.m4    configure     eCos.hhc  packages
Makefile.am  README.txt   acsupport     configure.in  eCos.hhp  tools

Mike@LAPTOP /opt/ecos
$ cd gnutools

Mike@LAPTOP /opt/ecos/gnutools
$ ls
i386-elf

Mike@LAPTOP /opt/ecos/gnutools
$ cd i386-elf

Mike@LAPTOP /opt/ecos/gnutools/i386-elf
$ ls
bin  i386-elf  info  lib  man  share

Mike@LAPTOP /opt/ecos/gnutools/i386-elf
$ cd bin

Mike@LAPTOP /opt/ecos/gnutools/i386-elf/bin
$ ls
cygtcl83.dll            i386-elf-c++filt.exe  i386-elf-nm.exe
cygtclpip83.dll         i386-elf-cpp.exe      i386-elf-objcopy.exe
cygtix4183.dll          i386-elf-g++.exe      i386-elf-objdump.exe
cygtk83.dll             i386-elf-gcc.exe      i386-elf-ranlib.exe
i386-elf-addr2line.exe  i386-elf-gccbug       i386-elf-readelf.exe
i386-elf-ar.exe         i386-elf-gcov.exe     i386-elf-size.exe
i386-elf-as.exe         i386-elf-gdb.exe      i386-elf-strings.exe
i386-elf-c++.exe        i386-elf-ld.exe       i386-elf-strip.exe

Mike@LAPTOP /opt/ecos/gnutools/i386-elf/bin
$ i386-elf-gcc -g -IBASE_DIR/work1/host2_install/include hello.c
-LBASE_DIR/wor
k1/host2_install/lib _Ttarget.ld -nostdlib
bash: i386-elf-gcc: command not found

Mike@LAPTOP /opt/ecos/gnutools/i386-elf/bin
$ i386-elf-gcc
bash: i386-elf-gcc: command not found



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


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