This is your problem. > > hello: > gcc -Wall -nostdlib -L/tmp/glibc-2.0.7/ -lc -O2 -o hello hello.c
it is not finding libgcc so it can't find the _start symbol and other things... ---hello/Makefile--- all: hello # # Set this to your glibc-2.0.7 copy or pass it on the command line # ifndef GLIBC_DEVEL GLIBC_DEVEL=/usr/src/minirtl_devel endif # # exlicildy list libraries required # LIBRARIES = -lc GCCINCDIR = $(shell gcc -print-search-dirs | sed -ne "s/install: \(.*\)/\1include/gp") GLIBC_CFLAGS+=-nostdinc -I$(GLIBC_DEVEL)/include -I$(GCCINCDIR) -s # # set this to fit your target system # CFLAGS = -mcpu=i386 \ -msoft-float \ $(GLIBC_CFLAGS) LDFLAGS+= -nodefaultlibs \ -L$(GLIBC_DEVEL)/lib \ -Wl,-rpath-link,$(GLIBC_DEVEL)/lib \ $(LIBRARIES) hello: hello.c clean: rm -f core *.o hello .c.o: $(CC) -Wall $(CFLAGS) $(LDFLAGS) -o $@ -c $< ---snip--- This should do it - atleast for hello.c hofrat -- [rtl] --- To unsubscribe: echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED] -- For more information on Real-Time Linux see: http://www.rtlinux.org/