matlab - GCC 3.4 vs 4.4 for C++ based MEX files? -


what trade-offs/concerns using gcc 3.4 vs 4.4 compiling modern matlab mex files?

i need compile off-the-shelf c++ code (kdtree) mex file use matlab (r2012a) under fedora v16. have run symbol problems using latest gcc complier (4.6.x) cluster default. , system administrator resistant making gcc 4.4.x, officially supported compiler matlab available. (not sure why) so, instead proposing using legacy (circa 2006) gcc 3.4.6 compiler. question if trade-offs or issues there using older gcc compiler? performance? 64-bit support? thread safety (or multiple parallel calls)? etc?

you're missing out on preliminary implementation of c++11 features (including standardized threads, variadic templates, etc http://wiki.apache.org/stdcxx/c%2b%2b0xcompilersupport). long both compilers produce binaries abi compatible matlab/octave, there arent version-specific safety concerns. no c compiler can solve shared-state problems you. performance different, not significant. in either compiler version i'm sure theres more optimial implementation of code anyway. gcc 3.4 has 64bit support.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -