Difference between revisions of "Libfc"
From CBLFS
Jump to navigationJump to searchWeibullguy (talk | contribs) |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {| style="text-align: left;" | + | {| style="text-align: left; background-color: AliceBlue;" |
|- | |- | ||
!Download Source: | !Download Source: | ||
|http://downloads.sourceforge.net/fnccheck/FunctionCheck-{{FunctionCheck-Version}}.tar.gz | |http://downloads.sourceforge.net/fnccheck/FunctionCheck-{{FunctionCheck-Version}}.tar.gz | ||
− | |||
|} | |} | ||
Line 16: | Line 15: | ||
== Dependencies == | == Dependencies == | ||
+ | === Optional === | ||
+ | * [[TeTeX]] | ||
== Non-Multilib == | == Non-Multilib == | ||
Line 21: | Line 22: | ||
Compile the package: | Compile the package: | ||
+ | sed -i "s@\.libs@@g" test/Makefile.in && | ||
+ | cp /usr/share/automake-*/config.{guess,sub} . && | ||
./configure --prefix=/usr && | ./configure --prefix=/usr && | ||
make | make | ||
Line 34: | Line 37: | ||
Compile the package: | Compile the package: | ||
+ | sed -i "s@\.libs@@g" test/Makefile.in && | ||
+ | cp /usr/share/automake-*/config.{guess,sub} . && | ||
CC="gcc ${BUILD32}" ./configure --prefix=/usr && | CC="gcc ${BUILD32}" ./configure --prefix=/usr && | ||
make | make | ||
Line 39: | Line 44: | ||
Install the package: | Install the package: | ||
− | make install | + | make install && |
+ | mv -v /usr/bin/fc-config{,-32} | ||
=== N32 === | === N32 === | ||
Line 45: | Line 51: | ||
Compile the package: | Compile the package: | ||
+ | sed -i "s@\.libs@@g" test/Makefile.in && | ||
+ | cp /usr/share/automake-*/config.{guess,sub} . && | ||
CC="gcc ${BUILDN32}" ./configure --prefix=/usr \ | CC="gcc ${BUILDN32}" ./configure --prefix=/usr \ | ||
--libdir=/usr/lib32 && | --libdir=/usr/lib32 && | ||
Line 51: | Line 59: | ||
Install the package: | Install the package: | ||
− | make install | + | make install && |
+ | mv -v /usr/bin/fc-config{,-n32} | ||
=== 64Bit === | === 64Bit === | ||
Line 57: | Line 66: | ||
Compile the package: | Compile the package: | ||
+ | sed -i "s@\.libs@@g" test/Makefile.in && | ||
+ | cp /usr/share/automake-*/config.{guess,sub} . && | ||
CC="gcc ${BUILD64}" ./configure --prefix=/usr \ | CC="gcc ${BUILD64}" ./configure --prefix=/usr \ | ||
--libdir=/usr/lib64 && | --libdir=/usr/lib64 && | ||
Line 63: | Line 74: | ||
Install the package: | Install the package: | ||
− | make install | + | make install && |
− | + | mv -v /usr/bin/fc-config{,-64} && | |
+ | ln -sfv multiarch_wrapper /usr/bin/fc-config | ||
== Contents == | == Contents == | ||
Line 90: | Line 102: | ||
|libfc core | |libfc core | ||
|} | |} | ||
+ | |||
+ | [[Category:Programming]] |
Latest revision as of 15:59, 19 March 2009
Download Source: | http://downloads.sourceforge.net/fnccheck/FunctionCheck-3.0.11.tar.gz |
---|
Contents
Introduction to Libfc
libfc is a library which allows a user to profile programs compiled with gcc. Profiling is a way to obtain informations about how your program spend its execution time. It is useful to know which functions are to be optimized or not, and in some cases to find bugs. libfc's goal is to generate profile for program executions. In this aspect, it is very similar to existing profilers (such as gprof).
Project Homepage: http://www710.univ-lyon1.fr/~yperret/fnccheck/libfc.html
This package was added because it is listed as an optional dependency to GnuTLS. However, this package is no longer being actively developed. See the developer's message at http://sourceforge.net/forum/forum.php?forum_id=191647
Dependencies
Optional
Non-Multilib
Compile the package:
sed -i "s@\.libs@@g" test/Makefile.in && cp /usr/share/automake-*/config.{guess,sub} . && ./configure --prefix=/usr && make
Install the package:
make install
Multilib
32Bit
Compile the package:
sed -i "s@\.libs@@g" test/Makefile.in && cp /usr/share/automake-*/config.{guess,sub} . && CC="gcc ${BUILD32}" ./configure --prefix=/usr && make
Install the package:
make install && mv -v /usr/bin/fc-config{,-32}
N32
Compile the package:
sed -i "s@\.libs@@g" test/Makefile.in && cp /usr/share/automake-*/config.{guess,sub} . && CC="gcc ${BUILDN32}" ./configure --prefix=/usr \ --libdir=/usr/lib32 && make
Install the package:
make install && mv -v /usr/bin/fc-config{,-n32}
64Bit
Compile the package:
sed -i "s@\.libs@@g" test/Makefile.in && cp /usr/share/automake-*/config.{guess,sub} . && CC="gcc ${BUILD64}" ./configure --prefix=/usr \ --libdir=/usr/lib64 && make
Install the package:
make install && mv -v /usr/bin/fc-config{,-64} && ln -sfv multiarch_wrapper /usr/bin/fc-config
Contents
Installed Programs: | fc_manager, fc-config |
---|---|
Installed Libraries: | libfc.so |
Short Descriptions
fc_manager | ?? |
---|---|
fc-config | ?? |
libfc.so | libfc core |