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 [2011/04/15 22:00] (current)
k2patel created
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: 2011/04/15 22:00 by k2patel