Hello,

I asked for some extension of GHDL to use GHDL as a real-time simulator last month via e-mail to your forum. I received several answers and I downloaded extension library with C functions

I tried to compile an example (under Linux, of course) using

ghdl -e -Wl,rt_functions.o clk_exemple.

GHDL wrote me that -Wl option does not know.

I listed source codes in ADA and I found out that the test of -Wl is commented in procedure Decode_Option in ghdlcomp.adb modul:

procedure Decode_Option (Cmd : in out Command_Elab;
                            Option : String;
                            Arg : String;
                            Res : out Option_Res)
   is
   begin
      if Option = "--expect-failure" then
         Flag_Expect_Failure := True;
         Res := Option_Ok;
      elsif Option = "-o" then
         if Arg'Length = 0 then
            Res := Option_Arg_Req;
         else
            --  Silently accepted.
            Res := Option_Arg;
         end if;
      --elsif Option'Length >= 4 and then Option (1 .. 4) = "-Wl," then
      --   Res := Option_Ok;
      else
         Decode_Option (Command_Lib (Cmd), Option, Arg, Res);
      end if;
   end Decode_Option;

I uncommented it and I read source codes of other modules only very quickly and it seems to me that -Wl -Wa etc.
options are not implemented. Is it true?

I download 0.33 and 0.34 versions (both binary and source codes).
I tried to install old 0.29 version but I could not run this one.


Thank you for answer

Vit Fabera





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

Reply via email to