delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/10/04:57:08

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Cc: cygwin AT cygwin DOT com
Subject: Re: 1.5.2-1 file truncated
References: <LJEILGLKPIFDMBILLGBNGEMNCAAA DOT bmj2001 AT bellsouth DOT net>
<87smoa9932 DOT fsf AT peder DOT flower>
<1731977211880 DOT 20030810100656 AT familiehaase DOT de>
Organization: Jan at Appel
From: Jan Nieuwenhuizen <janneke AT gnu DOT org>
Date: 10 Aug 2003 10:56:56 +0200
In-Reply-To: <1731977211880.20030810100656@familiehaase.de>
Message-ID: <873cg999gn.fsf@peder.flower>
Lines: 37
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0

"Gerrit P. Haase" writes:

> Can you try to add '-L/usr/lib' before '-lm' on the link line?
> I saw s.th. similar once with libexpat (long way back with 1.3.22) and
> I could not remove it from the link line, but it succeeded with
> adding -L/usr/lib before the -lib.

If I insert -L/home/cygwin/1.5/usr/lib, it fails in the same way (that
is in the compiler's default path).

Inserting -L/usr/lib has the effect of removing -lm, the build host's
libm seems to be loaded without any complaint:

    LOAD /home/cygwin1.5/usr/i686-pc-cygwin/lib/libpng.dll.a
    LOAD /home/cygwin1.5/usr/bin/cygz.dll
    LOAD ../kpathsea/SHARED/libkpathsea.dll.a
    LOAD /home/cygwin1.5/usr/X11R6/lib/libICE.dll.a
    LOAD /home/cygwin1.5/usr/X11R6/lib/libSM.dll.a
    LOAD /home/cygwin1.5/usr/X11R6/lib/libXpm.dll.a
    LOAD /home/cygwin1.5/usr/X11R6/lib/libX11.dll.a
    LOAD /usr/lib/libm.a
    LOAD /home/cygwin1.5/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libgcc.a
    LOAD /home/cygwin1.5/usr/i686-pc-cygwin/lib/libcygwin.a
    LOAD /home/cygwin1.5/usr/i686-pc-cygwin/lib/w32api/libuser32.a
    LOAD /home/cygwin1.5/usr/i686-pc-cygwin/lib/w32api/libkernel32.a
    LOAD /home/cygwin1.5/usr/i686-pc-cygwin/lib/w32api/libadvapi32.a
    LOAD /home/cygwin1.5/usr/i686-pc-cygwin/lib/w32api/libshell32.a
    LOAD /home/cygwin1.5/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libgcc.a

which is kind of funny, but no exports from it are mentioned in the
map file of course: wrong platform.

Jan.

-- 
Jan Nieuwenhuizen <janneke AT gnu DOT org> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019