For GCC4 build you can add: GCC_ROOT = /usr/gcc/4.4 COMPILER = gcc
And try to rebuild. Of course, you need GCC4. You can try take a look GCC44 build on my branch 'dilos' at: https://bitbucket.org/ikozhukhov/oi-build2 -Igor On 12/23/11 8:08 PM, "Jeppe Toustrup" <[email protected]> wrote: >On Thu, Dec 22, 2011 at 16:24, Игорь Пашев <[email protected]> wrote: >> include ../../make-rules/shared-macros.mk >> >> COMPONENT_NAME = GeoIP >> COMPONENT_VERSION = 1.4.7 >> COMPONENT_SRC = $(COMPONENT_NAME)-$(COMPONENT_VERSION) >> COMPONENT_PROJECT_URL = http://www.maxmind.com >> COMPONENT_ARCHIVE = $(COMPONENT_SRC).tar.gz >> COMPONENT_ARCHIVE_HASH = sha1:2db3a61e19dfaa0e4131217b155a59ba4bd0c5cc >> COMPONENT_ARCHIVE_URL = >> http://geolite.maxmind.com/download/geoip/api/c/$(COMPONENT_ARCHIVE) >> >> include $(WS_TOP)/make-rules/prep.mk >> include $(WS_TOP)/make-rules/configure.mk >> include $(WS_TOP)/make-rules/ips.mk >> >> >> build: $(BUILD_32_and_64) >> >> test: $(TEST_32_and_64) >> >> install: $(INSTALL_32_and_64) >> >> BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) >> >> include $(WS_TOP)/make-rules/depend.mk > >I just tried that Makefile with a few changes: >- Changed version to 1.4.8. >- Updated SHA1 hash for tar ball. >- Set the compiler to GCC. > >And this results in libraries in both the /usr/lib and /usr/lib/amd64 >folder, however, both sets of files are 32-bit according to "file". > >I'll have to look closer into this, but I'm not sure it will be on >this side of the holidays. > >-- >Venlig hilsen / Kind regards >Jeppe Toustrup (aka. Tenzer) > >_______________________________________________ >oi-dev mailing list >[email protected] >http://openindiana.org/mailman/listinfo/oi-dev _______________________________________________ oi-dev mailing list [email protected] http://openindiana.org/mailman/listinfo/oi-dev
