Compiler....


 
Thread Tools Search this Thread
Top Forums Programming Compiler....
# 1  
Old 04-12-2002
Data Compiler....

Smilie How to do Compiler a .so with oracle9 libs?

I have my file -> oracobo.pc
my .so is called by Cobol App. -> Runcobol (I don't have source).

Which is the statement of cc compiler?

It's Right :

proc oracobo.pc

cc -O -q32 -DDYNAMIC_LIBRARIES_SUPPORTED -L$ORACLE_HOME/lib/libclntsh.a -g -c oracobo.c

ld -b32 -L$ORACLE_HOME/lib/libclntsh.a -bI:runcobol.imp -bESmilieracobo.exp -lc -o oracobo.so oracobo.o

but when I run runcobol give me : ILLEGALL INSTRUCTION (COREDUMP)

Not found statement of oracle .sqlcxt ?

thanks for support!!!! Smilie

Luckycs
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

I need the compiler !!! help me

I have the code .section .data format_string: .asciz "Tong la '%d'\n" n: .int 6 .section .text .globl _start _start: movl $0,%esi movl n,%eax movl $0,%ecx loop1: cmp %eax,%ecx je print add %eax,%esi dec %eax jmp loop1 print: movl $format_string, %edi movl $0, %eax (1 Reply)
Discussion started by: toantk_55
1 Replies

2. UNIX for Dummies Questions & Answers

cc compiler and gcc compiler

hi, can we install gcc compiler in unix based OS(sun solar,IBM AIX,HP,etc) and also can we install sun cc compiler in AIX environment and vice versa. and more ..is linux support cc compiler regards Ajay (3 Replies)
Discussion started by: ajaysahoo
3 Replies

3. Solaris

C Compiler

Greetings, :rolleyes: :o :confused: I am working on Solaris 8. I have a few questions: 1. How do I determine if I have the CC compiler? I know it isn't in my $PATH, so how do I find it? 2. How do you install wget? I have read the INSTALL file, but I am not familar with the switches,... (25 Replies)
Discussion started by: Roam
25 Replies

4. Programming

How Can a Machine Reads a Compiler Since A Compiler is Written in Text! Not Binaries?

To make a programming language you need a compiler, so what was the first programming language and how was is created if you need the compiler first? The compiler itself is considered as a high language comparing to the machine! since the compiler is not created in 1's and 0's... Eventhough i... (12 Replies)
Discussion started by: f.ben.isaac
12 Replies

5. UNIX for Dummies Questions & Answers

xl C/C++ compiler to GCC compiler

Hi, we are converting from IBM-AIX(xl c/c++ compiler) to Linux(GCC complier). As a part of this i need to change the CFLAGS. The xl c/c++ complier CFLAGS is CFLAGS := $(CDEBUG) $(PROJECT_INCLUDE_DIRS) $(COBJECT_MODE) -qcpluscmt -qmakedep -qcheck=all \ -qalign=bit_packed $(LINT_FLAGS)... (0 Replies)
Discussion started by: pbattu1
0 Replies

6. Programming

C compiler

my C compiler cc is not working. probably it has corrupted. can anyone tell me location from where i can download it. Regards (4 Replies)
Discussion started by: rochitsharma
4 Replies

7. Programming

C compiler

I'm new to C but eager to get started. I purchasewd beginning C by Ivor Horton and realise that I need a C compiler. I looking for the most appropriate and economical way to obtain this, any suggestions would be greatly appreciated. (5 Replies)
Discussion started by: ferret
5 Replies

8. Programming

c compiler

i'm using linux to compile my c program right now. are there any free c compiler with all the standard header file, such as <stdio.h>, <unistd.h>..., i can download and use? can Microsoft Visual C++ compile C code? thanks. (1 Reply)
Discussion started by: bb00y
1 Replies

9. Programming

C compiler

I have just installed C compiler, the installation was successful but when I try to excute a gcc file I received the error message "types.c: In function `main': > types.c:4: warning: return type of `main' is not `int' > ld: fatal: file values-Xa.o: open failed: No such file or directory >... (5 Replies)
Discussion started by: hassan2
5 Replies
Login or Register to Ask a Question
HTML::Mason::Compiler::ToObject(3pm)			User Contributed Perl Documentation		      HTML::Mason::Compiler::ToObject(3pm)

NAME
HTML::Mason::Compiler::ToObject - A Compiler subclass that generates Mason object code SYNOPSIS
my $compiler = HTML::Mason::Compiler::ToObject->new; my $object_code = $compiler->compile( comp_source => $source, name => $comp_name, comp_path => $comp_path, ); DESCRIPTION
This Compiler subclass generates Mason object code (Perl code). It is the default Compiler class used by Mason. PARAMETERS TO THE new() CONSTRUCTOR All of these parameters are optional. comp_class The class into which component objects are blessed. This defaults to HTML::Mason::Component. subcomp_class The class into which subcomponent objects are blessed. This defaults to HTML::Mason::Component::Subcomponent. in_package This is the package in which a component's code is executed. For historical reasons, this defaults to "HTML::Mason::Commands". preamble Text given for this parameter is placed at the beginning of each component, but after the execution of any "<%once>" block. See also postamble. The request will be available as $m in preamble code. postamble Text given for this parameter is placed at the end of each component. See also preamble. The request will be available as $m in postamble code. use_strict True or false, default is true. Indicates whether or not a given component should "use strict". named_component_subs When compiling a component, use uniquely named subroutines for the a component's body, subcomponents, and methods. Doing this allows you to effectively profile Mason components. Without this, all components simply show up as __ANON__ or something similar in the profiler. define_args_hash One of "always", "auto", or "never". This determines whether or not an %ARGS hash is created in components. If it is set to "always", one is always defined. If set to "never", it is never defined. The default, "auto", will cause the hash to be defined only if some part of the component contains the string "ARGS". This is somewhat crude, and may result in some false positives, but this is preferable to false negatives. Not defining the args hash means that we can avoid copying component arguments, which can save memory and slightly improve execution speed. ACCESSOR METHODS
All of the above properties have read-only accessor methods of the same name. You cannot change any property of a compiler after it has been created (but you can create multiple compilers with different properties). METHODS
This class is primarily meant to be used by the Interpreter object, and as such has a very limited public API. compile(...) This method will take component source and return the compiled object code for that source. See "compile(...)" in HTML::Mason::Compiler for details on this method. This subclass also accepts a "comp_class" parameter, allowing you to override the class into which the component is compiled. perl v5.14.2 2012-02-04 HTML::Mason::Compiler::ToObject(3pm)