Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [oracle@stormking db12201 tmp]$ cat hello.c
- #include <stdio.h>
- void main( int c, char**v)
- {
- printf("Hi.\n");
- }
- [oracle@stormking db12201 tmp]$ gcc -c hello.c
- [oracle@stormking db12201 tmp]$ /u01/app/oracle/product/12.2.0/dbhome_1/bin/orald -L/u01/app/oracle/product/12.2.0/dbhome_1/lib/stubs -o hello hello.o
- [oracle@stormking db12201 tmp]$ ./hello
- Hi.
- [oracle@stormking db12201 tmp]$ ld -version
- GNU ld version 2.20.51.0.2-5.42.el6 20100205
- Copyright 2009 Free Software Foundation, Inc.
- This program is free software; you may redistribute it under the terms of
- the GNU General Public License version 3 or (at your option) a later version.
- This program has absolutely no warranty.
- [oracle@stormking db12201 tmp]$ /u01/app/oracle/product/12.2.0/dbhome_1/bin/orald -version
- GNU ld version 2.20.51.0.2-5.42.el6 20100205
- Copyright 2009 Free Software Foundation, Inc.
- This program is free software; you may redistribute it under the terms of
- the GNU General Public License version 3 or (at your option) a later version.
- This program has absolutely no warranty.
Advertisement
Add Comment
Please, Sign In to add comment