Hello,

yet another gnu/linux distro includes ghdl: NixOS (http://nixos.org/).

I packaged it to build with gnat from gcc-gnat-4.4.2, and building
ghdl with gcc 4.3.4 (as advised in the readme).

Although the readme alerts on some bugs from gcc-gnat, I have not hit
any of them.

In order to make ghdl build with NixOS I had to patch some things,
related to the pass of make CFLAGS to the vhdl files. I had to build a
non-profiled compiler; maybe adding ada (--enable-languages=vhdl,ada)
it would also work for a profiled compiler. I attach the patch for you
to evaluate the changes I had to do, and eventually put them upstream.

I also had to tweak on the .cf files for the installed libraries (as
ieee), because all files installed in NixOS have to meet the
requirement of having a timestamp of 1970-01-01 00:00:01. Without the
tweak on the installed .cf files, ghdl asked for reanalysis of the
ieee source files.

Nevertheless, all worked great, and I'm using ghdl in x86_64 without
any problem. Thank you very much!

Attachment: ghdl-ortho-cflags.patch
Description: Binary data

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

Reply via email to