Compiling and Linking a C INMOD on an AMD Opteron System
Use the following syntax example to compile a C INMOD on an Opteron client system running Solaris.
where
Syntax element |
Description |
cc |
Invokes the native C compiler |
‑dy |
Specifies to use dynamic linking |
‑G |
Specifies to create a shared object |
sourcefile |
Is a C source module for the INMOD |
‑o |
Specifies the output file name |
shared‑object‑name |
Specifies the resulting shared object module This is the name specified: The shared‑object‑name can be any valid UNIX file name. |