Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Compiling and running binaries on ARM (was Re: Undefined symbol "environ" (symnum = 9) )

following result is from a variant of evbarm TISDP2420 configuration
using sources (kernel and userland) built last night (20081117), except
option __HAVE_FAST_SOFTINTS is commented out in std.tisdp24xx

sdp2420# uname -a
NetBSD sdp2420 5.99.02 NetBSD 5.99.02 (TISDP2420) #4: Tue Nov 18 07:32:56 PST 2008 cliff%bhamo.a.tao@localhost:/home/cliff/netbsd/NetBSD-gemini/ usr/src/sys/arch/evbarm/compile/TISDP2420 evbarm
sdp2420# cd /tmp
sdp2420# cat > hello.c
#include <stdio.h>
int main(void){printf("hello!\n");return 0;}
sdp2420# time cc -Wall hello.c &&  time ./a.out
        8.54 real         0.67 user         1.71 sys
./a.out: Shared object has no run-time symbol table
        0.02 real         0.00 user         0.00 sys

On Nov 18, 2008, at 5:39 AM, Mikko Rapeli wrote:

time cc -Wall hello.c &&  time ./a.out

Home | Main Index | Thread Index | Old Index