Merge pull request #750 from bk138/gcc-include-libgcc-a
GCC: include libgcc.a
This commit is contained in:
commit
ed6e69f860
2 changed files with 6 additions and 3 deletions
|
@ -110,6 +110,7 @@ define Package/gcc/install
|
|||
cp -ar $(TOOLCHAIN_DIR)/include $(1)/usr/lib/$(PKG_NAME)/$(REAL_GNU_TARGET_NAME)/$(PKG_VERSION)
|
||||
cp -a $(TOOLCHAIN_DIR)/lib/*.{o,so*} $(1)/usr/lib/$(PKG_NAME)/$(REAL_GNU_TARGET_NAME)/$(PKG_VERSION)
|
||||
cp -a $(TOOLCHAIN_DIR)/lib/*nonshared*.a $(1)/usr/lib/$(PKG_NAME)/$(REAL_GNU_TARGET_NAME)/$(PKG_VERSION)
|
||||
grep "GROUP.*-lgcc" $(1)/usr/lib/$(PKG_NAME)/$(REAL_GNU_TARGET_NAME)/$(PKG_VERSION)/libgcc_s.so && cp -a $(PKG_INSTALL_DIR)/usr/lib/gcc/$(REAL_GNU_TARGET_NAME)/$(PKG_VERSION)/libgcc.a $(1)/usr/lib/$(PKG_NAME)/$(REAL_GNU_TARGET_NAME)/$(PKG_VERSION)/ ; true
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,gcc))
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
Native GCC that runs on target.
|
||||
|
||||
To save disk space, this GCC only supports dynamic linking on the target box,
|
||||
there are no static libraries shipped.
|
||||
there are no static libraries shipped except libgcc.a on those architectures
|
||||
that need it.
|
||||
|
||||
For now, this was only tested on a mips target. Others to be done...
|
||||
For now, this was only tested on arm (EABI) and mips targets. Others to be
|
||||
done...
|
||||
|
||||
Christian Beier <cb@shoutrlabs.com>
|
Loading…
Reference in a new issue