On Fri, 19 Oct 2012 14:00:05 +0200, you wrote:

>On Thu, Oct 18, 2012 at 10:17:12AM +0100, Brian Drummond wrote:
>> On Thu, 2012-10-18 at 10:26 +0200, Lluís Batlle i Rossell wrote:
>> > On Wed, Oct 17, 2012 at 07:55:20PM +0100, Brian Drummond wrote:
>> > > GHDL 0.30, Dunoon Edition!
>> > > 
>> > > 
>> > > To be built as per attached instructions, using attached patch.
>> > > 
>> > > It's my first (and quite possibly last :-) biggish GCC project, and I
>> > > really didn't expect it to take 3 weeks. 
>> 
>> > 
>> > I've just tried to put your patch into our gcc 4.7.2 build system, and I 
>> > get:
>> > make[3]: *** No rule to make target `../gcc/gtype-vhdl.h', needed by
>> > `ortho-lang.o'.  Stop.
>> > 
>> > Any quick idea?
>> 
>> Without knowing "your gcc build system" I can't be sure. 
>> Whose build system? 
>
>Thank you! It looks like that issue was related to "-j4" in make, though.

That could be because different processes run in different order with -j4.

>Without any "-j", it builds further. In fact, I hit this:
>In file included from ../../gcc-4.7.2/gcc/../gcc/tree.h:31:0,
>                 from ../../gcc-4.7.2/gcc/vhdl/ortho-lang.c:7:
>../../gcc-4.7.2/gcc/../gcc/double-int.h:24:17: fatal error: gmp.h: No such 
>file o r directory
>
>I think it's related to ghdl makefiles not respecting "--with-gmp" flags,
>because the rest of gcc builds fine (gcc called with proper
>-I...gmp.../include).
>

I have never managed to understand how the --with-gmp flags work!
(I ran into that building gcc for AVR with Ada support)

This is why I recommended building without them, and using symlinks to the gmp
(etc) directory! It just works! However that is probably against the rules of
your build system...

I will have a look at the ghdl makefiles to see if there is any likely cause of
this failure.

Thanks again,
- Brian






_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to