Closed vpmedia closed 10 years ago
Also cannot run simple test program: /bin/sh: ./hello-cpp: cannot execute binary file Maybe 64bit issue? Build system uname returns: x86_64
Reason: TR / TRD is missing (AVMShell) which runs executables.. So ticket is duplicate of #18
.... rm -f dmalloc_t.o gcc-4.2 -g -O2 -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE rm -f dmalloc_argv.o gcc-4.2 -g -O2 -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE ar cr libdmalloc.a arg_check.o compat.o dmalloc_rand.o dmalloc_tab.o env.o heap.o chunk.o error.o malloc.o avm2-unknown-freebsd8-ranlib libdmalloc.a rm -f dmalloc_t gcc-4.2 -o aout dmalloc_t.o dmalloc_argv.o libdmalloc.a mv aout dmalloc_t rm -f dmalloc_fc_t.o gcc-4.2 -g -O2 -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE rm -f dmalloc_fc_t gcc-4.2 -o aout dmalloc_fc_t.o dmalloc_argv.o libdmalloc.a mv aout dmalloc_fc_t ./dmalloc_fct -s ./dmalloc_fc_t: ./dmalloc_fct: cannot execute binary file Makefile:347: recipe for target 'light' failed make[3]: * [light] Error 126 make[3]: Leaving directory '/Users/dev/work/crossbridge/build/mac/dmalloc' Makefile:1140: recipe for target 'dmalloc' failed make[2]: * [dmalloc] Error 2 make[2]: Leaving directory '/Users/dev/work/crossbridge' Makefile:1100: recipe for target 'extralibs' failed make[1]: *\ [extralibs] Error 2 make[1]: Leaving directory '/Users/dev/work/crossbridge'