Current-Users 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) )



Mikko Rapeli wrote:
Hello,


A good ouput looks like:

# time cc -Wall hello.c &&  time ./a.out
        1.15 real         0.70 user         0.27 sys
hello!
        0.03 real         0.00 user         0.02 sys

And this is how a failure may look like, though the error varies a bit:

# ./a.out
./a.out: Undefined symbol "environ" (symnum = 9)

$ uname -a
NetBSD black-star.mudcovered.org.uk 4.99.72 NetBSD 4.99.72 (GENERIC) #27: Sat Oct 11 02:06:55 BST 2008 mpumford%trigati.mudcovered.org.uk@localhost:/work/netbsd/current/obj.acorn32/sys/arch/acorn32/compile/GENERIC acorn32

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

real    0m2.264s
user    0m1.274s
sys     0m0.952s
hello!

real    0m0.103s
user    0m0.020s
sys     0m0.068s

pmap.c Rev 1.187 which was checked in on 28/09/2008 So its after your omap breakage point.

Mike



Home | Main Index | Thread Index | Old Index