[uClibc] changes for macosx host (armeb target)
Philip Rakity
prakity at yahoo.com
Wed Dec 22 02:34:28 UTC 2004
Working !! === just build 802 wireless driver using c
and c++
Cool --
Philip
Changes to make armeb buildroot tools work on macosx
====================================================
Note I used latest gcc and binutils options in make
menuconfig
gcc 3.4.3
binutils 2.15.94.0.1
c and c++ enabled (both seem to work)
extfs file system (target option OFF)
=====================================================
a) changed uClibc/Makefile
.PHONY: utils
ifeq ($(strip $(HAVE_SHARED)),y)
utils: dummy
# $(MAKE) CROSS=$(CROSS) CC=$(CC) -C utils
else
utils: dummy
endif
(cannot compile ldd on mac since no features.h)
b) In genext2fs directory
Added getline.c and getline. h (from openbsd) to
genext2fs directory to allow code to compile.
getline is a non-standard C function and not
available on the mac
Changed Makefile to getline
SRC=genext2fs.c
SRC+= getline.c
OBJS=$(patsubst %.c,%.o, $(SRC))
Change to stop mac LD complaining about duplicate -o
genext2fs: $(OBJS)
# $(CC) $(CFLAGS) -o $@ $(OBJS) -o $@.o
$(CC) $(CFLAGS) $(OBJS) -o $@
Executable will fail (obvious) since cannot generate
ext file
system on macos
=== turn off extfs in make menuconfig is work around
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
More information about the uClibc
mailing list