-
Notifications
You must be signed in to change notification settings - Fork 2
Building for EbbRT
This is just a simple guideline using fetalReconstruction as an example for how to go ahead and building a small app for EbbRT. The small app is the StackRegistration function, which was originally part of the irtkReconstructionGPU.cc file.
Quick Tips: "nm -C -u app" - to dump the symbols of your created binary and examine it to look for U or Undefined symbols that need to be resolved or supported by EbbRT
CC=x86_64-pc-ebbrt-gcc ./configure for gsl - ./configure --build=x86_64-unknown-linux-gnu --host=x86_64-pc-ebbrt CC=x86_64-pc-ebbrt-gcc CXX=x86_64-pc-ebbrt-g++ AR=x86_64-pc-ebbrt-ar LD=x86_64-pc-ebbrt-ld NM=x86_64-pc-ebbrt-nm RANLIB=x86_64-pc-ebbrt-ranlib --disable-shared --enable-static --disable-dependency-tracking
CC=x86_64-pc-ebbrt-gcc ./configure --disable-shared --enable-static --disable-dependency-tracking --host=x86_64-pc-ebbrt --target=x86_64-pc-ebbrt
libtool: /bin/bash ../libtool --tag=CC --mode=compile x86_64-pc-ebbrt-gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -c -o placeholder.lo placeholder.c /bin/bash ../libtool --tag=CC --mode=compile x86_64-pc-ebbrt-gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -c -o strdup.lo strdup.c