Previous: Importing Libraries from Other Languages, Up: Other Languages

6.11.2 Exporting GPC Libraries to Other Languages

The .o files produced by GPC are in the same format as those of all other GNU compilers, so there is no problem in writing libraries for other languages in Pascal. To use them, you will need to write kind of interface – a header file in C. However there are some things to take into account, especially if your Pascal unit exports objects: