Difference between revisions of "Libfc"
From CBLFS
Jump to navigationJump to search(3 intermediate revisions by the same user not shown) | |||
Line 22: | 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 35: | 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 40: | Line 44: | ||
Install the package: | Install the package: | ||
− | make install | + | make install && |
+ | mv -v /usr/bin/fc-config{,-32} | ||
=== N32 === | === N32 === | ||
Line 46: | 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 52: | Line 59: | ||
Install the package: | Install the package: | ||
− | make install | + | make install && |
+ | mv -v /usr/bin/fc-config{,-n32} | ||
=== 64Bit === | === 64Bit === | ||
Line 58: | 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 64: | 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 91: | 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 |