> Hi ! > > Le 2014-01-10 21:08, Brian Drummond a écrit : > > Another user routinely links to C code (and I have linked to Ada) > > using > > the VHPI interface; as the mcode compiler supports neither of these > > languages, the gcc version is essential to him. > > According to Tristan, support of external dynamic libraries is just a > matter > of dlopen/dlsym. Greate ! Now, it's only half of the equation because > I > have > no idea of where to put these system calls :-D
See ghdlrun.adb: Foreign_Hook. This function is called for each foreign subprogram, and return the address of the foreign routine. That's where dlopen/dlsym should be added. Tristan. _______________________________________________ Ghdl-discuss mailing list [email protected] https://mail.gna.org/listinfo/ghdl-discuss
