This is the mail archive of the ecos-discuss@sourceware.org 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]

Re: Help creating synthetic targets on cygwin-pc.




Sergei Gavrikov-4 wrote:
> 
> On Thu, 5 Aug 2010, Stuart Longland wrote:
>>
>> Could it be something to do with the fact that you are not building it
>> for an i686-pc-linux-gnu host, but rather, a Cygwin host?  They are
>> not the same.
>>
> 
> Hi
> 
> Stuart is quite right. It's not possible to play with eCos *Linux*
> synthetic target on Cygwin. But, you can get eCos working for some PC*
> targets either for Qemu or VMware H/W emulators. I never try Qemu on
> win32 hosts, I use it on Linux host as well, but, I guess it's possible.
> For Qemu I usually use eCos 'pc_rltk8139' target (Qemu has support for
> this Realtek NIC), for VMware you can try eCos 'pc_vmWare' PC target
> with AMD Lance PCI NIC.
> 
> Seek the list around Qemu/VMware keywords to get more clues.
> 
> HTH
> 
> Sergei
> 
> -- 
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
> 
> 
> 


Okay, thanks for the help guys.  So, I switched over to a linux box:

uname -a
Linux iapetus 2.6.33.6-147.fc13.x86_64 #1 SMP Tue Jul 6 22:32:17 UTC 2010
x86_64 x86_64 x86_64 GNU/Linux


and  I am running into similar problems.  I am building synthetic target
'i386linux'.  When I do make inside the buildtree, I get
i686-pc-linux-gnu-gcc not found.

To get around this problem, I modified ecos.ecc so that the Command prefix
returns an empty string.

After that, I run into a similar problem at the assembly stage:

make[1]: Entering directory
`/home/gdegamo/ecos/ecos-work/hal/synth/i386linux/v3_0'
gcc -c  -I/home/gdegamo/ecos/ecos-work/install/include
-I/home/gdegamo/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0
-I/home/gdegamo/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/src
-I/home/gdegamo/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/tests -I.
-I/home/gdegamo/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
/home/gdegamo/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/src/syscall-i386-linux-1.0.S
/home/gdegamo/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/src/syscall-i386-linux-1.0.S:
Assembler messages:
/home/gdegamo/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/src/syscall-i386-linux-1.0.S:386:
Error: suffix or operands invalid for `push'
/home/gdegamo/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/src/syscall-i386-linux-1.0.S:386:
Error: suffix or operands invalid for `pop'
/home/gdegamo/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/src/syscall-i386-linux-1.0.S:387:
Error: suffix or operands invalid for `push'
/home/gdegamo/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/src/syscall-i386-linux-1.0.S:387:
Error: suffix or operands invalid for `pop'


So do you have any further suggestions?

-- 
View this message in context: http://old.nabble.com/Help-creating-synthetic-targets-on-cygwin-pc.-tp29352340p29356877.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


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