Hello,

Hereby I send the files to include GNU's Scientific Library, including patches. tested with crosscompilers from the ct-ng package (http://ymorin.is-a-geek.org/dokuwiki/projects/crosstool) with the following config:

binutils:2.18.50.0.8
gcc-4.3.1
glibc-2.6.1
nptl

crosscompilers used are:
arm-x-linux-gnueabi
powerpc-x-linux-gnu
i686-x-linux-gnu

kind regards,
Bart.

--
--------------------------------------------------
Bart De Vos
Development Engineer
mailto:[EMAIL PROTECTED]

EIA Electronics
Vluchtenburgstraat  3
B-2630 Aartselaar  (Belgium)
phone   : +32(0)3 870 85 29
fax     : +32(0)3 877 14 72
website : http://www.eia.be/
--------------------------------------------------
Basically, perfect development is impossible.
Development can be fast, good and cheap. Pick two!
— Larry Wall --------------------------------------------------

--- gsl-1.11/configure	2008-09-11 13:05:27.000000000 +0200
+++ gsl-1.11-ptx/configure	2008-09-11 13:05:39.000000000 +0200
@@ -12578,7 +12578,8 @@
 See \`config.log' for more details." >&5
 echo "$as_me: error: cannot run test program while cross compiling
 See \`config.log' for more details." >&2;}
-   { (exit 1); exit 1; }; }
+#   { (exit 1); exit 1; }; 
+  }
 else
   cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
config LIBGSL
bool
prompt "libgsl"
help
  GNU Scientific Library
# -*-makefile-*-
# $Id: template 6655 2007-01-02 12:55:21Z rsc $
#
# Copyright (C) 2008 by info-gsl
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
PACKAGES-$(PTXCONF_LIBGSL) += libgsl

#
# Paths and names
#
LIBGSL_VERSION          := 1.11
LIBGSL                          := gsl-$(LIBGSL_VERSION)
LIBGSL_SUFFIX           := tar.gz
ifdef PTXCONF_SETUP_GNUMIRROR
LIBGSL_URL                      := 
$(PTXCONF_SETUP_GNUMIRROR)/gsl/$(LIBGSL).$(LIBGSL_SUFFIX)
else
LIBGSL_URL                      := 
ftp://ftp.gnu.org/gnu/gsl/$(LIBGSL).$(LIBGSL_SUFFIX)
endif
LIBGSL_SOURCE           := $(SRCDIR)/$(LIBGSL).$(LIBGSL_SUFFIX)
LIBGSL_DIR                      := $(BUILDDIR)/$(LIBGSL)

# ----------------------------------------------------------------------------
# Get
# ----------------------------------------------------------------------------

libgsl_get: $(STATEDIR)/libgsl.get

$(STATEDIR)/libgsl.get: $(libgsl_get_deps_default)
        @$(call targetinfo, $@)
        @$(call touch, $@)

$(LIBGSL_SOURCE):
        @$(call targetinfo, $@)
        @$(call get, LIBGSL)

# ----------------------------------------------------------------------------
# Extract
# ----------------------------------------------------------------------------

libgsl_extract: $(STATEDIR)/libgsl.extract

$(STATEDIR)/libgsl.extract: $(libgsl_extract_deps_default)
        @$(call targetinfo, $@)
        @$(call clean, $(LIBGSL_DIR))
        @$(call extract, LIBGSL)
        @$(call patchin, LIBGSL)
        @$(call touch, $@)

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

libgsl_prepare: $(STATEDIR)/libgsl.prepare

LIBGSL_PATH                     := PATH=$(CROSS_PATH)
LIBGSL_ENV                      := $(CROSS_ENV)
#
# autoconf
#
LIBGSL_AUTOCONF         := $(CROSS_AUTOCONF_USR)

$(STATEDIR)/libgsl.prepare: $(libgsl_prepare_deps_default)
        @$(call targetinfo, $@)
        @$(call clean, $(LIBGSL_DIR)/config.cache)
        cd $(LIBGSL_DIR) && \
                $(LIBGSL_PATH) $(LIBGSL_ENV) \
                ./configure $(LIBGSL_AUTOCONF)
        @$(call touch, $@)

# ----------------------------------------------------------------------------
# Compile
# ----------------------------------------------------------------------------

libgsl_compile: $(STATEDIR)/libgsl.compile

$(STATEDIR)/libgsl.compile: $(libgsl_compile_deps_default)
        @$(call targetinfo, $@)
        cd $(LIBGSL_DIR) && $(LIBGSL_ENV) $(LIBGSL_PATH) $(MAKE) 
$(PARALLELMFLAGS)
        @$(call touch, $@)

# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------

libgsl_install: $(STATEDIR)/libgsl.install

$(STATEDIR)/libgsl.install: $(libgsl_install_deps_default)
        @$(call targetinfo, $@)
        @$(call install, LIBGSL)
        @$(call touch, $@)

# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------

libgsl_targetinstall: $(STATEDIR)/libgsl.targetinstall

$(STATEDIR)/libgsl.targetinstall: $(libgsl_targetinstall_deps_default)
        @$(call targetinfo, $@)

        @$(call install_init, libgsl)
        @$(call install_fixup, libgsl,PACKAGE,libgsl)
        @$(call install_fixup, libgsl,PRIORITY,optional)
        @$(call install_fixup, libgsl,VERSION,$(LIBGSL_VERSION))
        @$(call install_fixup, libgsl,SECTION,base)
        @$(call install_fixup, libgsl,AUTHOR,"Robert Schwebel <[EMAIL 
PROTECTED]>")
        @$(call install_fixup, libgsl,DEPENDS,)
        @$(call install_fixup, libgsl,DESCRIPTION,missing)

        @$(call install_copy, libgsl, 0, 0, 0644, \
                $(LIBGSL_DIR)/.libs/libgsl.so.0.12.0, \
                /usr/lib/libgsl.so.0.12.0, "strip")
        @$(call install_link, libgsl, libgsl.so.0.12.0, /usr/lib/libgsl.so.0)
        @$(call install_link, libgsl, libgsl.so.0.12.0, /usr/lib/libgsl.so)

        @$(call install_copy, libgsl, 0, 0, 0644, \
                $(LIBGSL_DIR)/gsl-config, \
                /usr/bin/gsl-config, "no")
        @$(call install_copy, libgsl, 0, 0, 0644, \
                $(LIBGSL_DIR)/gsl-histogram, \
                /usr/bin/gsl-histogram, "strip")
        @$(call install_copy, libgsl, 0, 0, 0644, \
                $(LIBGSL_DIR)/gsl-randist, \
                /usr/bin/gsl-randist, "strip")

        @$(call install_finish, libgsl)

        @$(call touch, $@)

# ----------------------------------------------------------------------------
# Clean
# ----------------------------------------------------------------------------

libgsl_clean:
        rm -rf $(STATEDIR)/gsl.*
        rm -rf $(IMAGEDIR)/gsl_*
        rm -rf $(LIBGSL_DIR)

# vim: syntax=make
--
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to