Swolisten: Moving the library argument to the end of the command line #718
This commit is contained in:
parent
af3480e523
commit
b51c9367fc
9
UsingSWO
9
UsingSWO
|
@ -109,12 +109,13 @@ Note that swolisten can be used with either BMP firmware, or with a
|
||||||
conventional TTL serial dongle. See at the bottom of this file for
|
conventional TTL serial dongle. See at the bottom of this file for
|
||||||
information on how to use a dongle.
|
information on how to use a dongle.
|
||||||
|
|
||||||
The command line to build the swolisten tool is;
|
The command line to build the swolisten tool may look like:
|
||||||
|
|
||||||
gcc -I /usr/local/include/libusb-1.0 -L /usr/local/lib -lusb-1.0 swolisten.c -o swolisten
|
E.g. for Ubuntu
|
||||||
|
gcc -I /usr/local/include/libusb-1.0 -L /usr/local/lib swolisten.c -o swolisten -lusb-1.0
|
||||||
|
|
||||||
For Opensuse:
|
E.g. For Opensuse:
|
||||||
gcc -I /usr/include/libusb-1.0 -lusb-1.0 swolisten.c swolisten -std=gnu99 -g -Og
|
gcc -I /usr/include/libusb-1.0 swolisten.c swolisten -std=gnu99 -g -Og -lusb-1.0
|
||||||
|
|
||||||
...you will obviously need to change the paths to your libusb files.
|
...you will obviously need to change the paths to your libusb files.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue