The Wayback Machine - https://web.archive.org/web/20201029085305/https://github.com/dashesy/cc-tool
Skip to content
master
Go to file
Code
This branch is 24 commits ahead, 7 commits behind scott-42:master.

Latest commit

When statically linking, the order in which -l options are passed is
important. The contents of the LIBS option passed to the configure
environment should be passed *after* other -l options used internally
by the package.

For example, libboost_program_options may used symbols from the
libatomic library, and in this case, one need to pass LIBS="-latomic"
to cc-tool's configure script. When using dynamic linking, this works
fine, because the rpath test does "-latomic
-lboost_program_options". However, when statically linking, this
doesn't work because libboost_program_options uses symbols from
libatomic, so -latomic must be passed *after* -lboost_program_options.

Therefore, this commit inverts the list of variables used to construct
LIBS before doing the _BOOST_AC_LINK_IFELSE() test detecting the rpath
option to be used. Indeed, $boost_save_LIBS contains the previously
saved LIBS variable, and should be passed after $Boost_lib_LIBS.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
[Retrieved from:
https://git.buildroot.net/buildroot/tree/package/cc-tool/0004-m4-boost.m4-fix-rpath-option-check-for-static-linkin.patch]
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
51fd9df

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
m4
 
 
man
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README

#### cc-tool version 0.26+
cc-tool provides support for Texas Instruments CC Debugger

#### Building from source, dependencies:
Ubuntu: libusb-1.0-0-dev, libboost-all-dev, autoconf, libtool
Fedora: boost-devel, libusb1-devel
Mac OS 10.6.7, from ports: libusb boost pkgconfig

Regenerate Autotools files first by running `./bootstrap` script.

#### User guide:
man cc-tool

#### Additional:
File udev/90-cc-debugger.rules cotains udev rules changing permissions 
for TI CC Debugger device and TI evolution boards so they can be used 
from non-privileged accounts. Copy it to /etc/udev/rules.d

#### Support:
If you found a bug try to reproduce it with command line option --log.
You can’t perform that action at this time.