PROC and gcc

From: <jmruiz_at_cicyt.es>
Date: 1997/07/11
Message-ID: <5q50q7$svj$1_at_news.rediris.es>#1/1


Can precompiled C programs be compiled with gcc in Solaris? I have tried it (with sample10 demo program)and I get an executable, but affter running it, I get the following error while connecting to database:

Cannot connect to ORACLE as user xxxx. Error -12203

sqlplus works OK with same user and password. The only different I notice between cc and gcc is the option -xcg92 (used by cc). I do not know what this flag is, and I do not have SUN's cc compiler.

Regards
Jose Ruiz
jmruiz_at_cicyt.es Received on Fri Jul 11 1997 - 00:00:00 CEST

Original text of this message