Programmieren: Difference between revisions

From Elch-Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 5: Line 5:


GNU-Automake-Zyklus:
GNU-Automake-Zyklus:
* (optional: acscan)
* aclocal
* aclocal
* autoconf
* autoconf
Line 13: Line 14:
* make
* make
* make install
* make install
Allgemeines:
* Source-Files und Linker-Flags in Makefile.am definieren
GDB:
* Doku: [http://sourceware.org/gdb/current/onlinedocs/gdb_6.html]
* Start: gdb <file> <proc-id to attach to>
* Signal ignorieren: handle SIGUSR1 nostop
* Laufen lassen nach attach: continue / c

Latest revision as of 22:18, 19 June 2020

Zusätzlich installieren:

  • automake
  • autoconf

GNU-Automake-Zyklus:

  • (optional: acscan)
  • aclocal
  • autoconf
  • automake

Compile-Zyklus:

  • ./configure
  • make
  • make install

Allgemeines:

  • Source-Files und Linker-Flags in Makefile.am definieren

GDB:

  • Doku: [1]
  • Start: gdb <file> <proc-id to attach to>
  • Signal ignorieren: handle SIGUSR1 nostop
  • Laufen lassen nach attach: continue / c