'org.ibex.nestedvm.Runtime$$CPUState.dup'
cd tmp/pruned && jar cfm ../../$@ ../../.manifest .
+sizecheck: compact_runtime_compiler.jar
+ @for c in `find tmp/pruned -name '*.class'|fgrep -v '$$'`; do \
+ for f in `echo $$c|sed 's,\.class$$,,;'`*.class; do gzip -c $$f; done | wc -c | tr -d '\n'; \
+ echo -e "\t`echo $$c | sed 's,tmp/pruned/org/ibex,,;s,\.class$$,,;s,/,.,g;'`"; \
+ done | sort -rn | awk '{ sum += $$1; print } END { print sum,"Total"; }'
+
+
# This is only for Brian to use... don't mess with it
rebuild-constants: $(tasks)/build_libc
@mkdir -p `dirname $@`
private static String toHex(int n) { return "0x" + Long.toString(n & 0xffffffffL, 16); }
- public static void main(String[] args) throws IOException {
+ /*public static void main(String[] args) throws IOException {
ELF elf = new ELF(new Seekable.InputStream(new FileInputStream(args[0])));
System.out.println("Type: " + toHex(elf.header.type));
System.out.println("Machine: " + toHex(elf.header.machine));
} else {
System.out.println("Symbol table: None");
}
- }
+ }*/
}