wangyf@bogon:~/cross/memtester-4.5.1$ cat conf-cc $CC -O2 -DPOSIX -D_POSIX_C_SOURCE=200809L -D_FILE_OFFSET_BITS=64 -DTEST_NARROW_WRITES -c This will be used to compile .c files. wangyf@bogon:~/cross/memtester-4.5.1$ cat conf-ld $CC -s This will be used to link .o files into an executable. wangyf@bogon:~/cross/memtester-4.5.1$ cat bb.sh #!/bin/sh source /data/toolchain/setenv/setenv_ppc64e5500_2.0 make $1 ARCH=ppc CROSS_COMPILE=powerpc64-fsl-linux- wangyf@bogon:~/cross/memtester-4.5.1$ cat warn-auto.sh #!/bin/sh # WARNING: This file was auto-generated. Do not edit! source /data/toolchain/setenv/setenv_ppc64e5500_2.0 wangyf@bogon:~/cross/memtester-4.5.1$ ./bb.sh ( cat warn-auto.sh; echo CC='`head -1 conf-cc`'; echo LD='`head -1 conf-ld`' ) > auto-ccld.sh cat auto-ccld.sh make-compile.sh > make-compile chmod 755 make-compile cat auto-ccld.sh find-systype.sh > find-systype chmod 755 find-systype ./find-systype > systype ( cat warn-auto.sh; ./make-compile "`cat systype`" ) > compile chmod 755 compile ./compile memtester.c ./compile tests.c cat auto-ccld.sh make-load.sh > make-load chmod 755 make-load ( cat warn-auto.sh; ./make-load "`cat systype`" ) > load chmod 755 load ./extra-libs.sh "`cat systype`" >extra-libs ./load memtester tests.o `cat extra-libs` wangyf@bogon:~/cross/memtester-4.5.1$ wangyf@bogon:~/cross/memtester-4.5.1$ wangyf@bogon:~/cross/memtester-4.5.1$ file memtester memtester: ELF 64-bit MSB executable, 64-bit PowerPC or cisco 7500, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=89faa0482613842346bca71711f3b93655ea8169, stripped



