DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 54QJkFOt3117562 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 54QJkFOt3117562 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=YmnUOVsy X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DB665385DDFA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1748288773; bh=hKr/PMrpgmQXqTkojCjojlrfT0AfaDkSaqGBXG/gHkI=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=YmnUOVsyGH7wSf/SwiEpmEmun7UVsWg/8N5bJbpXYTC0ABX3VOt3Sl2jKA2Lm7mWQ 3th9CfznWKaZ30PlJONJlhskO6ToOI2xgWmo6KBfH0XN8cgfl610K8GErBQWiQ2XeL oYsUKgVeIClh1izvlmtxuEO63CbG2NiCBIKymq2Q= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C39E43858C62 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C39E43858C62 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1748288710; cv=none; b=fK8NOAfXVtELvSpirpixIM0oC5XljAKyToCBduloYlopAAzB7FOEqQlaj+yJk/V/9I0dBp9U8mqYYiZX0PrIRxmpkdhhxOqAjMpJm0GCyakUe/eNT4CwfDaSzpWorU1W8U5Q1DNNjCV6/OgkY05uAZD0+GhHFgAHrAj/X2epJE0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1748288710; c=relaxed/simple; bh=Fo4CMywQKM9qjtmGrYe8jxcv1Ch+wGlt5apMBzj34Ic=; h=Message-ID:Date:MIME-Version:From:Subject:To:DKIM-Signature; b=kdXK/wiHfDVP3qCGpR4i/9nvp43ajtt1LfDv1+WvO5kc4Nbg1e5A2ggx9swb8abtxr7YHgg/6HwOTJMbWr3zqAxJKuKHpjJt43Q+RsKR6ENruExF2BFTMPNqrUJp/JjGFeHsWULA48xLs2ZcKqg2kQMeD15lOr+4K6szD2u0XVk= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C39E43858C62 Message-ID: <72d801d8-3581-4032-ad7c-7fe10b193ba3@SystematicSW.ab.ca> Date: Mon, 26 May 2025 13:45:07 -0600 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: gcc links to libcmain when generating a dll Content-Language: en-CA To: cygwin AT cygwin DOT com References: <0a2393fd-1112-460e-addc-5ad0f0f01897 AT slipbits DOT com> Organization: Systematic Software In-Reply-To: <0a2393fd-1112-460e-addc-5ad0f0f01897@slipbits.com> X-Rspamd-Queue-Id: 930B420023 X-Stat-Signature: d3kebg56m8hui7bpspguuzf3cscks1a5 X-Rspamd-Server: rspamout06 X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361 X-Session-ID: U2FsdGVkX19AbgpYB0iDvz5FqQOrAXpZstiddm1AbOI= X-HE-Tag: 1748288708-276002 X-HE-Meta: U2FsdGVkX1+iV/4O0/RC977L9s/ZbFOqa1FoZ5EzBXIlPJ2Tl7akXDicNlkP6oAz9st3Lf6CoJSdITzlwnd7j7mXVzsnNMqDfJ1znxSKxrsLRcpb1GpS55dT/6ONMonDhSq5UgNO7snF9lAZLS/GbDXP9yzaXhrQwOuFM9TzrJmcrdFkQOyFIq+/ePGaEH9KDQjrOEUMYqA95m+B9NdYLt4qSaYnHFZ+jgRJ1o34nnV7CwvKCgVQAh5qzBIn6rBtjVUQTYXXf9b6iXls2U413zRfKWAXV1yvMX22gOYI6szn+5SsM/cDWxMtKd/hfd8IQyLqfTqxhIjmsecCoL4OrxY5Tw+JSypN6Liue4L3RoZKFGS6iC+qG2YhQWvHaZlkDU7v5kfhVqgQPu7bYzgC36exzlLug3vT352+NK5psSe4NHcDrKgp/rbtikOZxd8BS62lfevdY4kpQoGx+ODUmUSIAdivm4aP87Pkfph68fCxseNvisdBE7M2p7nH80DVpCxm/scATOPkZLdZuq7HKk4IO8H84vQM X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Brian Inglis via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Brian Inglis , Arthur Schwarz Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 54QJkFOt3117562 On 2025-05-26 12:27, Arthur Schwarz wrote: > Hi Brian; > > I'm trying to track down the gcc linker (ld) manual. Any idea where I can find it? $ cygcheck -f /usr/bin/ld binutils-2.44-1 https://cygwin.com/packages/summary/binutils-src.html https://www.gnu.org/software/binutils/ https://savannah.gnu.org/projects/binutils/ https://sourceware.org/binutils/ https://sourceware.org/binutils/docs/ https://sourceware.org/binutils/docs/ld.pdf https://sourceware.org/binutils/docs/ld.html # single page https://sourceware.org/binutils/docs/ld/index.html # multiple pages > I've looked at the gcc site (gcc.gnu.org/onlinedocs/) and it's not there. I did > a google search and found a 1998 linker manual. I looked at the local cygwin (/ > usr/share/doc) and there's no ld. Install binutils and then you can use: $ info ld $ man ld > You sent me the solution to my linking issue (thanks), but I find that the > libslip.dll.a seems woefully undernourished. My cygslip.dll is 55980 bytes, my > libslip.dll.a is 2266 bytes. I would argue that my cygslip.dll seems too low > (will find out more when I try to link it to an executable) but the > libslip.dll.a seems wholly inadequate. I was hoping to use the linker manuals to > try to find out what's going on, but I can't find the manuals. -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retrancher but when there is no more to cut -- Antoine de Saint-Exupéry -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple