Importing a new version from external source |
Importing a new version from external source |
||
Line 1: | Line 1: | ||
It is possible to install gcc48 or gcc5 in FreeBSD and pass the options to configure to compile with it | It is possible to install gcc48 or gcc5 in FreeBSD and pass the options to configure to compile the C files with it, as shown below. Make sure to link with the OS official compiler however, cc or c++ and not gcc or g++, otherwise the generated binary will be incorrect. That's also why the <tt>-lgomp</tt> is required to link it. |
Revision as of 18:57, 28 September 2015
It is possible to install gcc48 or gcc5 in FreeBSD and pass the options to configure to compile the C files with it, as shown below. Make sure to link with the OS official compiler however, cc or c++ and not gcc or g++, otherwise the generated binary will be incorrect. That's also why the -lgomp is required to link it.