ExaGridDba

orald - Oracle's GNU linker

Feb 20th, 2018
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. [oracle@stormking db12201 tmp]$ cat hello.c
  2. #include <stdio.h>
  3. void main( int c, char**v)
  4. {
  5. printf("Hi.\n");
  6. }
  7.  
  8. [oracle@stormking db12201 tmp]$ gcc -c hello.c
  9.  
  10. [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
  11.  
  12. [oracle@stormking db12201 tmp]$ ./hello
  13. Hi.
  14.  
  15. [oracle@stormking db12201 tmp]$ ld -version
  16. GNU ld version 2.20.51.0.2-5.42.el6 20100205
  17. Copyright 2009 Free Software Foundation, Inc.
  18. This program is free software; you may redistribute it under the terms of
  19. the GNU General Public License version 3 or (at your option) a later version.
  20. This program has absolutely no warranty.
  21.  
  22. [oracle@stormking db12201 tmp]$ /u01/app/oracle/product/12.2.0/dbhome_1/bin/orald -version
  23. GNU ld version 2.20.51.0.2-5.42.el6 20100205
  24. Copyright 2009 Free Software Foundation, Inc.
  25. This program is free software; you may redistribute it under the terms of
  26. the GNU General Public License version 3 or (at your option) a later version.
  27. This program has absolutely no warranty.
Advertisement
Add Comment
Please, Sign In to add comment