IM wrote:
Hi All! I need to use C++ units (*.cpp) in my GPC projects. If I use C units (*.c) in my project (just like {$L socketmain.c}) it's ok but if I try to use {$L socketmain.cpp} then Pascal compiler tells me
gpc: ./socketmain.cpp: C++ compiler not installed on this system.
But it installed. Two things I tried to do:
By default, the automake mechanism only uses the compilers that were built and installed together with GPC. Apparently you have the C++ compiler separately installed. You can try the option `--automake-g++=g++' (if `g++' is your C++ compiler). This might cause problems if the versions of the compilers differ too much, but often it should work. Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://www.gnu-pascal.de/todo.html GPC download signing key: 51FF C1F0 1A77 C6C2 4482 4DDC 117A 9773 7F88 1707