This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
php src/mg/AsterTrace/bin/astertrace.php ./conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
------------ call start ------------ | |
channel variable: config dir = /export/users/marcelog/config/asterisk | |
channel variable: configfile = /export/users/marcelog/config/asterisk/asterisk.conf | |
channel variable: module dir = /usr/lib/asterisk/modules | |
channel variable: spool dir = /tmp/marcelog/asterisk/spool | |
channel variable: monitor dir = /tmp/marcelog/asterisk/spool/monitor | |
channel variable: var dir = /tmp/marcelog/asterisk | |
channel variable: data dir = /tmp/marcelog/asterisk | |
channel variable: log dir = /tmp/marcelog/asterisk/logs | |
channel variable: agi dir = /tmp/marcelog/asterisk/agi-bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
filedump=/tmp/dump.txt | |
function log() { | |
echo ${@} >> ${filedump} | |
} | |
function dumpvar() { | |
log "channel variable: ${1} = ${2}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
------------ call start ------------ | |
channel variable: config dir = /export/users/marcelog/config/asterisk | |
channel variable: configfile = /export/users/marcelog/config/asterisk/asterisk.conf | |
channel variable: module dir = /usr/lib/asterisk/modules | |
channel variable: spool dir = /tmp/marcelog/asterisk/spool | |
channel variable: monitor dir = /tmp/marcelog/asterisk/spool/monitor | |
channel variable: var dir = /tmp/marcelog/asterisk | |
channel variable: data dir = /tmp/marcelog/asterisk | |
channel variable: log dir = /tmp/marcelog/asterisk/logs | |
channel variable: agi dir = /tmp/marcelog/asterisk/agi-bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
filedump=/tmp/dump.txt | |
function log() { | |
echo ${@} >> ${filedump} | |
} | |
function dumpvar() { | |
log "channel variable: ${1} = ${2}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PATH=${PATH}:/usr/cross-freebsd/bin | |
export LD_LIBRARY_PATH=/usr/cross-freebsd/lib | |
./configure --prefix=/usr/cross-freebsd --host=x86_64-pc-freebsd7 | |
gmake | |
gmake install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ gcc helloworld.c -o helloworld | |
$ file helloworld | |
helloworld: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), not stripped | |
$ LD_LIBRARY_PATH=/usr/cross-freebsd/lib | |
$ /usr/cross-freebsd/bin/x86_64-pc-freebsd7-gcc helloworld.c -o helloworld | |
$ file helloworld | |
helloworld: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), for FreeBSD 7.2, dynamically linked (uses shared libs), FreeBSD-style, not stripped |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
int | |
main(int argc, char *argv[]) | |
{ | |
fprintf(stdout, "Hello world\n"); | |
return 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tar jxf gcc-4.5.2.tar.bz2 | |
cd gcc-4.5.2 | |
mkdir objdir | |
cd objdir | |
../configure --without-headers --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --disable-nls --enable-libssp --enable-gold --enable-ld --target=x86_64-pc-freebsd7 --prefix=/usr/cross-freebsd --with-gmp=/usr/cross-freebsd --with-mpc=/usr/cross-freebsd --with-mpfr=/usr/cross-freebsd --disable-libgomp | |
LD_LIBRARY_PATH=/usr/cross-freebsd/lib gmake | |
gmake install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tar jxf mpc-0.8.1.tar.bz2 | |
cd mpc-0.8.1 | |
./configure --prefix=/usr/cross-freebsd --with-gnu-ld --with-gmp=/usr/cross-freebsd --with-mpfr=/usr/cross-freebsd --enable-static --enable-shared --host=x86_64-pc-freebsd7 | |
gmake | |
gmake install |