On Sat, 2013-02-02 at 12:16 +0000, Brian Drummond wrote:
> On Sat, 2013-02-02 at 01:24 +0100, Thomas Sailer wrote:
> > On 02/01/2013 10:32 PM, Brian Drummond wrote:

> > The libgomp fix is about the -P switch issue. It makes libgomp build, 
> > but libgomp isn't really used AFAIK with ghdl.
> > 
> > I can do a checking build on monday...
> 
> I don't see a need at the moment, but I think we have to fix -P. 

Turns out we can fix the -P issue in lang.opt by declaring
JoinedOrMissing for the argument. See attached patch. 
Overcomes my problem building C++. 
Thomas, would you be willing to verify it fixes libgomp?

Thanks,
- Brian
--- gcc-4.7.2/gcc/vhdl/lang.opt	2013-02-02 21:53:58.701198684 +0000
+++ gcc-4.7.2/gcc/vhdl/lang.opt.orig	2013-02-02 22:04:47.333216128 +0000
@@ -22,7 +22,7 @@
 Set the directory of the work library
 
 P
-vhdl JoinedOrMissing
+vhdl Joined
 -P<dir>	Add <dir> to the end of the vhdl library path
 
 -elab
_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to