> Are you sure you need to comment out ANALYZE_OPTS and STD_GHDL_FLAGS ?
> Usually, Makefile variables set on the command line overrides theĀ 
> definitions.

I wasn't aware of this subtelty... it seems so wrong to me...
But anyway, indeed the "instructions" that set these variables inside the 
Makefile are kind of skipped.
I'll have to read some docs on that topic.

So no need to patch the Makefile.
I did a fast try on an unclean build directory (and with GHDL installed on my 
machine...) and it seems this command works fine:

make \
        GHDL="${srcdir}/gcc-build/gcc/ghdl" \
        ANALYZE_OPTS="--GHDL1=${srcdir}/gcc-build/gcc/ghdl1" \
        STD_GHDL_FLAGS="--GHDL1=${srcdir}/gcc-build/gcc/ghdl1" \
        ghdllib

So no need to split build of libraries and of runtime...
I'll rebuild with no ghdl installed and with clean build directory, but 
tomorrow I think.

Regards,
Adrien


_______________________________________________
Ghdl-discuss mailing list
Ghdl-discuss@gna.org
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to