build issues on OSX

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/baseband-devel@lists.osmocom.org/.

Sylvain Munaut 246tnt at gmail.com
Sun Mar 14 12:12:10 UTC 2010


> Well, you should use ar, ranlib and such from the toolchain. I'm not sure but
> it might be the case that we accidently use the "ar", "ranlib" from the host
> GNU host and that it magically happens to work.
>
> You will have to look at the line with "ar" and see if arm-*-ar was used and
> if not you will need to patch the Makefile to do so.

I think you're right. Look in firmware/Makefile.inc line 118

It should probably be

    $(CROSS_COMPILE)$(AR) cru $$($(1)_DIR)/lib$(1).a $$($(1)_OBJS)

instead of just:

    $(AR) cru $$($(1)_DIR)/lib$(1).a $$($(1)_OBJS)


    Sylvain




More information about the baseband-devel mailing list