Hello,

I'm having a few problems building ghdl with gcc on cygwin. I have tried 
various versions of cygwin, and gcc but haven't managed to get any 
combination to work. My current configuration is: cygwin 1.7, gcc-4.3.3 
and ghdl-0.27. The steps that I am following are:

1)built and installed gcc with c,c++,ada,java - all good.
2)Copied the vhdl directory to the gcc-4.3.3/gcc/. dir. 
3)run make distclean
4)removed all remaining config.cache
5) run ../configure --enable-languages=vhdl --prefix=/usr/local/ghdl 
--disable-bootstrap
6) run make CFLAGS="-O -g"

The error that I am getting is:

echo '../../gcc/c-pragma.c' >> tmp-gi.list
echo '../../gcc/c-objc-common.c' >> tmp-gi.list
echo '../../gcc/c-parser.c' >> tmp-gi.list
/bin/sh ../../gcc/../move-if-change tmp-gi.list gtyp-input.list
echo timestamp > s-gtyp-input
build/gengtype.exe ../../gcc gtyp-input.list
../../gcc/vhdl/ortho-lang.c:764: parse error: expected a type specifier, 
have '}
'../../gcc/vhdl/ortho-lang.c:764: parse error: expected '(', 'GTY', or an 
identi
fier, have ';'../../gcc/vhdl/ortho-lang.c:772: parse error: expected a 
type spec
ifier, have '}'../../gcc/vhdl/ortho-lang.c:772: parse error: expected '(', 
'GTY'
, or an identifier, have ';'../../gcc/vhdl/ortho-lang.c:780: unidentified 
type `
static'
../../gcc/vhdl/ortho-lang.c:792: unexpected character `!'
../../gcc/vhdl/ortho-lang.c:807: unidentified type `static'
../../gcc/vhdl/ortho-lang.c:863: unidentified type `static'
../../gcc/vhdl/ortho-lang.c:863: parse error: expected '(', 'GTY', or an 
identif
ier, have 'enum'../../gcc/vhdl/ortho-lang.c:898: unexpected character `!'
../../gcc/vhdl/ortho-lang.c:925: unexpected character `!'
../../gcc/vhdl/ortho-lang.c:927: unexpected character `!'
../../gcc/vhdl/ortho-lang.c:947: unexpected character `&'
../../gcc/vhdl/ortho-lang.c:947: unexpected character `&'
../../gcc/vhdl/ortho-lang.c:949: unexpected character `&'
../../gcc/vhdl/ortho-lang.c:949: unexpected character `&'
../../gcc/vhdl/ortho-lang.c:951: unexpected character `&'
../../gcc/vhdl/ortho-lang.c:951: unexpected character `&'

Any thoughts.

Cheers,

Blaise.

---

This e-mail may contain confidential and/or privileged information. If you 
are not the intended recipient (or have received this e-mail in error) 
please notify the sender immediately and destroy this e-mail. Any 
unauthorized copying, disclosure or distribution of the material in this 
e-mail is strictly forbidden.
_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to