I am writing an application and I would like to use GCC 4.8 on rhel7. My problem is that I need to use a 3rd party shared lib which was built using GCC 4.4 built on rhel6.
using GCC 4.4 library with GCC 4.8 application
873 Views Asked by Snooze7 At
1
There are 1 best solutions below
Related Questions in C++
- C++ using std::vector across boundaries
- Linked list without struct
- Connecting Signal QML to C++ (Qt5)
- how to get the reference of struct soap inherited in C++ Proxy/Service class
- Why we can't assign value to pointer
- Conversion of objects in c++
- shared_ptr: "is not a type" error
- C++ template using pointer and non pointer arguments in a QVector
- C++ SFML 2.2 vectors
- Lifetime of temporary objects
- I want to be able to use 4 different variables in a select statement in c ++
- segmentation fault: 11, extracting data in vector
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- How can I print all the values in this linked list inside a hash table?
- Configured TTL for A record(s) backing CNAME records
Related Questions in GCC
- gcc static library compilation
- Different behavior of async with Visual Studio 2013(Windows8.1) and GCC 4.9(Ubuntu14.10)
- How to add directories to Cygwin gcc default search path
- Usage of #ifndef directive
- Failure to link a program with gcc -static
- Text as parameter in inline assembly (ARM)?
- Alternatives for strrspn and strfind functions(libgen functions in Solaris) in AIX?
- Incorrect format specifier with gcc compiler
- Why should I use a closing bracket in this?
- How can I compile *without* various instruction sets enabled?
- Automatically wrap C/C++ function at compile-time with annotation
- gcc compiled library: can successfully link with, how come it's "undefined symbol" when run the program?
- compiling caffe on Yosemite
- error - /usr/bin/ld: cannot find -lavutil in ubuntu 15.04
- Compatibility of libstdc++.so libgcc_s.so when upgrading GCC 4.1 to GCC 4.8.2
Related Questions in LIBSTDC++
- CMake `link_directories` for libstdc++.so
- Spurious copies in c++03 libstdc++ vs c++11
- OS X libstdc++ prevents boost::thread from interruptions?
- arm-linux libstdc++ difference in debug and release
- What is the meaning of the libstdc++6.dylib version number on mac os x?
- __uint128_t not working with Clang and libstdc++
- using GCC 4.4 library with GCC 4.8 application
- Why is a transaction_safe function not recognized by std::is_function when compiling with GCC 7, libstdc++, and -fgnu-tm?
- gcc configure option explanations
- Can we write a "libstdc++" wrapper over a "libc++" library to link and build it with a "libstdc++" project?
- Do we use libstdc++.a and libstdc++.so at the same time when generating executable?
- Link to specific stdc++ library
- Implicit conversion failure from initializer list
- Centos 5.11 libstdc++.so.6 How update or put a newer version?
- How to use alternate glibc with existing libstdc++?
Related Questions in LIBGCC
- using GCC 4.4 library with GCC 4.8 application
- what to do with missing libgcc_s.a
- Compile not optimized Libgcc for ARM
- Different compiler behavior when dividing unsigned char vs dividing unsigned short
- libgcc linker error: hidden symbol __aarch64_swp1_acq_rel in libgcc.a is referenced by DSO
- Unable to Deploy Streamlit app on Heroku - missing libgcc_s.so.1
- libgcc and libstdcplusplus rpms version supported by node 14 LTC (v14.15.4)
- cannot find Scrt.o and crti.o
- Different versions of compilers + libgcc on windows encountered
- Compile libgcc.a and libstd++.a for 32 bits
- How to install 16 bit version of libcc
- libgcc1 depends gcc-5-base but it is not installable
- Adding the -O2 option when cross-compiling causes the unwind backtrace to fail
- How to fix cannot find libgcc.a: No such file or directory error
- What should printf("%.15e", 1e23); print?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
That's a meaningful suggestion as it's too hard to preserve ABI compatibility in C++ interfaces.
Both libgcc and libstdc++ preserve backwards compatibility (unless in GCC5 but that's not your case) so the 3rd party lib should work just fine with RHEL7 libs.
No (see above).
Yes, this will work.
Correct (they usually say that "new versions of standard libs are backwards compatible i.e. software compiled with older libs will continue to work").
If you somehow manage to pass STL object created in one libstdc++ to another you'll have weird errors. But if both your and 3rd party library have pure C interfaces this should not be an issue (as there's no way for STL objects to escape their containing libraries).
This would be unnecessary burden.