J
jayesah
Hi All,
I am developing my code with Apache stdcxx. I am bound to use STL of
Apache only.
Now today I need hash_map in code but as I learned, it is not
available in Apache since it is not standard c++. Though it is
available with GNU STL.
The code module where I use hash_map will generate separate object
file during compilation. This code module is also using STL string.
What can I do now ?
I planned like this way:
1> The code module that uses hash_map, I will link it statically with
GNU STL.
2> The rest of the modules, which does not use hash_map, I will link it
dynamically with Apache STL.
By this approach my object size of GNU STL (which is linked statically)
is huge in size.
Can anybody please suggest me a better solution with following
conditions in mind?
- I must use hash_map.
- I must use Apache STL.
I am developing my code with Apache stdcxx. I am bound to use STL of
Apache only.
Now today I need hash_map in code but as I learned, it is not
available in Apache since it is not standard c++. Though it is
available with GNU STL.
The code module where I use hash_map will generate separate object
file during compilation. This code module is also using STL string.
What can I do now ?
I planned like this way:
1> The code module that uses hash_map, I will link it statically with
GNU STL.
2> The rest of the modules, which does not use hash_map, I will link it
dynamically with Apache STL.
By this approach my object size of GNU STL (which is linked statically)
is huge in size.
Can anybody please suggest me a better solution with following
conditions in mind?
- I must use hash_map.
- I must use Apache STL.