FH> 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:
FH> You can try the option `--automake-g++=g++' (if `g++' is your C++ FH> compiler). This might cause problems if the versions of the FH> compilers differ too much, but often it should work.
Thanks for advice! But it does not work in my system :(
I tried also the following options (with same result): --automake-c++=g++ --automake-cpp=g++ --automake-схх=g++
Ingvar