On Thu, Jan 21, 2010 at 9:40 AM, John Kacur <jkacur@xxxxxxxxxx> wrote: > > Did you leave something out? Not at all. I summary, We have to change CFLAGS from "-lpthread -lrt" to "-lrt -lpthread" to compile rt-tests source successfully for static linking with GCC based arm cross compiler. This is testcase. Fedora11#> git clone git://git.kernel.org/pub/scm/linux/kernel/git/clrkwllms/rt-tests.git Fedora11#> cd rt-tests Fedora11#> vi Makefile ( for static linking) CFLAGS += -O2 -static <--- Edit this line. Fedora11#> make CC=arm-linux-eabi-gcc We will meet some errors like "undefined reference to . . . . . . " messages. Thanks reading. Geunsik Lim. > Thanks > John > -- Regards, GeunSik Lim ( Samsung Electronics ) Blog : http://blog.naver.com/invain/ e-Mail: geunsik.lim@xxxxxxxxxxx leemgs@xxxxxxxxx , leemgs1@xxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ -- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html