delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/10/04:06: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
Date: Tue, 10 Dec 2002 10:05:40 +0100
Message-ID: <3DF0645A00006141@mail-7.tiscalinet.it>
From: fabrizio_ge-wolit AT tiscali DOT it
Subject: "Segmentation fault" error in ld
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id gBA967w04837

The version of ld distributed with Cygwin (version 2.13.90 20021118) exits
with a "segmentation fault" error when launched with the -shared option
and passed a .def file with a syntax error.

An example: create a file with a .def extension, and the following content
-----------------
LIBRARY lib BASE 0x400000

EXPORTS
dllwrite
-----------------
(the syntax in line 1 is incorrect, there should be a = sign between BASE
and 0x400000 instead of a space) and type:

ld -shared -o <output file> <any object file[s]> <just-created .def file>

The output is
ld: <.def file>:1: parse error
Segmantation fault (core dumped)


__________________________________________________________________
Tiscali ADSL. Scopri la fantastica promozione di Natale: tutto Gratis fino
al 9 gennaio!
Abbonati ora: prima ti abboni, pił risparmi!
http://point.tiscali.it/adsl/index.shtml




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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