[U-Boot-Users] libgcc pickup....

richard at uclinux.net richard at uclinux.net
Thu Feb 3 22:00:31 CET 2005


Evening...


Does someone has an idea why on OSX systems compiling u-boot
picks up host's libgcc.a in the end?


Means I always have to use:

PLATFORM_LIBS += --no-warn-mismatch `$(CC) $(CFLAGS) -print-libgcc-file-name`

instead of:

PLATFORM_LIBS += --no-warn-mismatch -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`)
-lgcc



best regards
rick






More information about the U-Boot mailing list