User Tools

Site Tools


force_make_to_use_gcc44

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

force_make_to_use_gcc44 [2020/08/10 02:35] (current)
Line 1: Line 1:
 +====== FreeBSD make.conf ======
 +==== How to force to use latest gcc4x ====
 +
 +It is usually require to done while building ffmpeg on freebsd.\\
 +Some script require it will be build using gcc44 so it does not complaint.\\
 +add following lines to start using gcc44.\\
 +replace number 44 with desired version. should do it.
 +
 +<code bash | /​etc/​make.conf>​
 +.if !empty(.CURDIR:​M/​usr/​ports/​*) && exists(/​usr/​local/​bin/​gcc44)
 +CC=gcc44
 +CXX=g++44
 +CPP=cpp44
 +.endif
 +</​code>​
 +
  
force_make_to_use_gcc44.txt ยท Last modified: 2020/08/10 02:35 (external edit)