makasih pak,atas responsenya .
tapi .pc yang ada pada saya ada link nya.jadi harus dilink dulu dengan C
compiler.
kalo di windows saya menggunakan Microsoft Visual C++ sebagai c compiler.
misal saya mempunya file dengan nama ota_gsp.pc
syntax yang saya pergunakan untuk mengcompile dari ota_gsp.pc menjadi
ota_gsp.exe
di windows adalah sebagai berikut

rename ota_gsp.pc ota_gsp.c

cl -Ic:\oracle\ora8i\oci\include -Ic:\oracle\ora8i\precomp\public -I. -I"C:\
Program Files\Microsoft Visual Studio\VC98\include" -D_MT -D_DLL -Zi
d:\am\c_src\ota_gsp.c -DLISTENER -DFNPRO -DDELLOG -DW95_NT -P /link
c:\oracle\ora8i\oci\lib\msvc\oci.lib
c:\oracle\ora8i\precomp\lib\msvc\oraSQL8.LIB
c:\oracle\ora8i\precomp\lib\orasql8.LIB /LIBPATH:%MSVCDir%\lib msvcrt.lib
/nod:libc

rename ota_gsp.i ota_gsp1.pc

proc sqlcheck=semantics userid=abcdef/[EMAIL PROTECTED] dbms=native
iname=d:\am\c_src\ota_gsp1.pc include="C:\Program Files\Microsoft Visual
Studio\VC98\include" include="d:\am\c_src"

cl -Ic:\oracle\ora8i\oci\include -Ic:\oracle\ora8i\precomp\public -I. -I"C:\
Program Files\Microsoft Visual Studio\VC98\include" -D_MT -D_DLL -Zi
d:\am\c_src\ota_gsp1.c -DLISTENER -DFNPRO -DDELLOG -DW95_NT /link
c:\oracle\ora8i\oci\lib\msvc\oci.lib
c:\oracle\ora8i\precomp\lib\msvc\oraSQL8.LIB
c:\oracle\ora8i\precomp\lib\orasql8.LIB /LIBPATH:%MSVCDir%\lib msvcrt.lib
/nod:libc

rename ota_gsp1.exe ota_gsp.exe

lalu apa yang harus saya jalankan jika berada pada linux platform ?
terima kasih

Daniel

----- Original Message -----
From: "Yulius Wibowo" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, October 27, 2005 7:07 PM
Subject: [indo-oracle] Re: Pro*c 10.1.0.2


> Berikut caranya :
> Saya menggunakan Database 9i Rel. 2 di RHEL 3
>
> misal, working direcktori saya di /home/oracle
>
> lalu saya buat sebuah file, sebut saja test.pc yg berisi program
> Pro*C
>
> $>  make -f $ORACLE_HOME/precomp/demo/proc/demo_proc.mk EXE=test
> OBJS=test.o build
>
> $> ./test
> SMITH                         is in department 20
>
>
> Bowo
>
>
>
>
>
> --- In [email protected], "daniel_d" <[EMAIL PROTECTED]> wrote:
> >
> > Hi guys,
> >
> > Ada yang punya documentasi untk compile pro*c on linux ?
> > saya coba cari di site nya oracle,adanya yang on windows
> >
> > Daniel
> >
>
>
>
>
>
>
>
> --
> -----------I.N.D.O - O.R.A.C.L.E---------------
> Keluar: [EMAIL PROTECTED]
> Website: http://indo-oracle.lizt.org (NEW)
> -----------------------------------------------
>
> Bergabung dengan Indonesia Thin Client User Groups,
> Terminal Server, Citrix, New Moon Caneveral, di:
> http://indo-thin.vze.com
> Yahoo! Groups Links
>
>
>
>
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.344 / Virus Database: 267.12.5/149 - Release Date: 10/25/2005
>
>


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/PhFolB/TM
--------------------------------------------------------------------~-> 

--
-----------I.N.D.O - O.R.A.C.L.E---------------
Keluar: [EMAIL PROTECTED]
Website: http://indo-oracle.lizt.org (NEW)
-----------------------------------------------

Bergabung dengan Indonesia Thin Client User Groups, 
Terminal Server, Citrix, New Moon Caneveral, di:
http://indo-thin.vze.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/indo-oracle/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Kirim email ke