This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Help creating synthetic targets on cygwin-pc.
- From: dcoder <gtdegamo at yahoo dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Wed, 4 Aug 2010 16:49:59 -0700 (PDT)
- Subject: [ECOS] Help creating synthetic targets on cygwin-pc.
Hello. I don't have any embedded hardware so I can't build any thing 'real'.
So, I'm trying to build a synthetic target and I am having problems doing
so. I am using cygwin, and all my work from a bash shell, just as the
manual states.
So, I tried the following:
cygwin> ecosconfig new i386linux
# From the list command, this specifies:
# Target linux (Linux synthetic target):
# aliases: i386linux
cygwin> ecosconfig tree
cygwin> ecosconfig tree
cygwin> ecosconfig check # Everything went okay.
Now I can make, and here's where my problems begin:
make[1]: Entering directory `/opt/ecos/ecos-work/io/wallclock/v3_0'
make[1]: Leaving directory `/opt/ecos/ecos-work/io/wallclock/v3_0'
make -r -C error/v3_0 headers
make[1]: Entering directory `/opt/ecos/ecos-work/error/v3_0'
make[1]: Leaving directory `/opt/ecos/ecos-work/error/v3_0'
headers finished
make -r -C services/memalloc/common/v3_0 heapgeninc.tcl
make[1]: Entering directory
`/opt/ecos/ecos-work/services/memalloc/common/v3_0'
i686-pc-linux-gnu-gcc -finline-limit=7000 -Wall -Wpointer-arith -Wundef
-Woverloaded-virtual -Wno-write-strings -g -O2 -ffunction-sections
-fdata-sections -fno-rtti -fno-exceptions
-I/opt/ecos/ecos-work/install/include
-I/opt/ecos/ecos-3.0/packages/services/memalloc/common/v3_0
-I/opt/ecos/ecos-3.0/packages/services/memalloc/common/v3_0/src
-I/opt/ecos/ecos-3.0/packages/services/memalloc/common/v3_0/tests -I.
-Wp,-MD,heapgen.tmp -E
/opt/ecos/ecos-3.0/packages/services/memalloc/common/v3_0/src/heapgen.cpp -o
heapgeninc.tcl
make[1]: i686-pc-linux-gnu-gcc: Command not found
make[1]: *** [heapgeninc.tcl] Error 127
I was able to get around this problem by creating a symbolic link to the gcc
compiler outside of /opt/ecos (the default initialization path).
However, I can't get past the next errors (truncated):
i686-pc-linux-gnu-gcc -c -I/opt/ecos/ecos-work/install/include
-I/opt/ecos/ecos-3.0/packages/hal/synth/arch/v3_0
-I/opt/ecos/ecos-3.0/packages/hal/synth/arch/v3_0/src
-I/opt/ecos/ecos-3.0/packages/hal/synth/arch/v3_0/tests -I.
-I/opt/ecos/ecos-3.0/packages/hal/synth/arch/v3_0/src/ -finline-limit=7000
-Wall -Wpointer-arith -Wstrict-prototypes -Wundef -Wno-write-strings -g -O2
-ffunction-sections -fdata-sections -fno-exceptions
-Wp,-MD,src/synth_syscalls.tmp -o src/hal_synth_arch_synth_syscalls.o
/opt/ecos/ecos-3.0/packages/hal/synth/arch/v3_0/src/synth_syscalls.c
i686-pc-linux-gnu-ar rcs /opt/ecos/ecos-work/install/lib/libtarget.a
src/hal_synth_arch_synth_entry.o src/hal_synth_arch_synth_diag.o
src/hal_synth_arch_synth_intr.o src/hal_synth_arch_synth_syscalls.o
make[1]: Leaving directory `/opt/ecos/ecos-work/hal/synth/arch/v3_0'
make -r -C hal/synth/i386linux/v3_0 build
make[1]: Entering directory `/opt/ecos/ecos-work/hal/synth/i386linux/v3_0'
i686-pc-linux-gnu-gcc -c -I/opt/ecos/ecos-work/install/include
-I/opt/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0
-I/opt/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/src
-I/opt/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/tests -I.
-I/opt/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/src/
-finline-limit=7000 -Wall -Wpointer-arith -Wstrict-prototypes -Wundef
-Wno-write-strings -g -O2 -ffunction-sections -fdata-sections
-fno-exceptions -Wp,-MD,src/context.tmp -o src/hal_synth_i386linux_context.o
/opt/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/src/context.S
i686-pc-linux-gnu-gcc -c -I/opt/ecos/ecos-work/install/include
-I/opt/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0
-I/opt/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/src
-I/opt/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/tests -I.
-I/opt/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/src/
-finline-limit=7000 -Wall -Wpointer-arith -Wstrict-prototypes -Wundef
-Wno-write-strings -g -O2 -ffunction-sections -fdata-sections
-fno-exceptions -Wp,-MD,src/syscall-i386-linux-1.0.tmp -o
src/hal_synth_i386linux_syscall-i386-linux-1.0.o
/opt/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/src/syscall-i386-linux-1.0.S
/opt/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/src/syscall-i386-linux-1.0.S:
Assembler messages:
/opt/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/src/syscall-i386-linux-1.0.S:386:
Warning: .type pseudo-op used outside of .def/.endef ignored.
/opt/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/src/syscall-i386-linux-1.0.S:386:
Error: junk at end of line, first unrecognized character is `c'
/opt/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/src/syscall-i386-linux-1.0.S:386:
Warning: .size pseudo-op used outside of .def/.endef ignored.
/opt/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/src/syscall-i386-linux-1.0.S:386:
Error: junk at end of line, first unrecognized character is `c'
/opt/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/src/syscall-i386-linux-1.0.S:387:
Warning: .type pseudo-op used outside of .def/.endef ignored.
/opt/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/src/syscall-i386-linux-1.0.S:387:
Error: junk at end of line, first unrecognized character is `c'
Anyways, does anyone know what I might be doing wrong here?
Thanks.
dcoder
--
View this message in context: http://old.nabble.com/Help-creating-synthetic-targets-on-cygwin-pc.-tp29352340p29352340.html
Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss