Tristan,
Thank you for updating the SVN repository with revision 150!
I have build difficulties with it as follows (command and error below)
This is another option name clash, between gcc and ghdl usage of -P.
In my patch I had worked around this by using -LP for the ghdl usage
(treating it as -LibPath) but I was never quite happy with the change
because it breaks compatibility with previous usage.
I have a feeling that the functions ortho_option_lang_mask
ortho_post_options and ortho_handle_option could provide hooks to
overcome the name clashes, but haven't thought deeply about it...
Any ideas?
- Brian
----------------------------------------------------------------------
man gcc says...
-P Inhibit generation of linemarkers in the output from the
preprocessor. This might be useful when running the preprocessor on
something that is not C code, and will be
sent to a program which might be confused by the linemarkers.
----------------------------------------------------------------------
P
-P<dir> Add <dir> to the end of the vhdl library path
so this is another option name clash.
----------------------------------------------------------------------
Command :
/home/brian/Projects/ghdl/build472/./gcc/xgcc
-B/home/brian/Projects/ghdl/build472/./gcc/
-B/usr/local/ghdl/x86_64-unknown-linux-gnu/bin/
-B/usr/local/ghdl/x86_64-unknown-linux-gnu/lib/
-isystem /usr/local/ghdl/x86_64-unknown-linux-gnu/include
-isystem /usr/local/ghdl/x86_64-unknown-linux-gnu/sys-include -E -P
-include ../config.h - > libstdc++-symbols.ver || (rm -f libstdc
++-symbols.ver ; exit 1)
Error :
xgcc: error: missing argument to ā-Pā
make[5]: *** [libstdc++-symbols.ver] Error 1
make[5]: Leaving directory
`/home/brian/Projects/ghdl/build472/x86_64-unknown-linux-gnu/libstdc
++-v3/src'
_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss