V
Vinod
Hi!!
I am having a very strange problem with my C++ code.
I am developing a simulator which converts a source language into
intermediate code (C++). This code when compiled with a library
API(C++) creates a final executable. The executable shows the behavior
of the simulator.
The problem that I am currently facing is that the executable seg
faults based on the directory in which i compile the intermediate
code.
I am using libtools so I do not expect any linking problems. Infact I
donot have any errors during compilation/linking stage. The
intermediate code when compiled always produces the executable. I do
both the intermediate code generation and compilation in the same
directory. When I do these 2 steps in directory A it works. However it
fails when I do the same in directory B. How is this possible???
Thanks in advance for your reply.
Vinod Chamarty
I am having a very strange problem with my C++ code.
I am developing a simulator which converts a source language into
intermediate code (C++). This code when compiled with a library
API(C++) creates a final executable. The executable shows the behavior
of the simulator.
The problem that I am currently facing is that the executable seg
faults based on the directory in which i compile the intermediate
code.
I am using libtools so I do not expect any linking problems. Infact I
donot have any errors during compilation/linking stage. The
intermediate code when compiled always produces the executable. I do
both the intermediate code generation and compilation in the same
directory. When I do these 2 steps in directory A it works. However it
fails when I do the same in directory B. How is this possible???
Thanks in advance for your reply.
Vinod Chamarty