The following patch is part of the latest Debian package, but probably should be applied upstream. Basically, the GHDL Makefile was hard-coding CC to cc, instead of using what was determined by the build system. This can break the build completely if cc doesn't match the compiler that actually is being used, especially once e.g. gnatbind and friends get their hands on it. --- ghdl-0.27+svn110+gcc4.3.2~dfsg.orig/ghdl/vhdl/Makefile.in +++ ghdl-0.27+svn110+gcc4.3.2~dfsg/ghdl/vhdl/Makefile.in @@ -80,7 +80,6 @@ X_ADAFLAGS = T_ADAFLAGS = -CC = cc ADAC = $(CC) ECHO = echo
on 2008-12-08 22:41
on 2008-12-10 05:33
On Mon, Dec 08, 2008 at 02:39:55PM -0700, Wesley J. Landaker wrote: > The following patch is part of the latest Debian package, but probably > should be applied upstream. Basically, the GHDL Makefile was hard-coding CC > to cc, instead of using what was determined by the build system. This can > break the build completely if cc doesn't match the compiler that actually > is being used, especially once e.g. gnatbind and friends get their hands on > it. Ok, I removed it. Tristan.