delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/01/30/04:28:20

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <47A042F0.2060009@alice.it>
Date: Wed, 30 Jan 2008 10:27:12 +0100
From: Angelo Graziosi <angelo DOT graziosi AT alice DOT it>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: About linker options an rebasing
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

I remember an old discussion on cygwin-apps that suggested to add

    -Wl,--enable-auto-import -Wl,--enable-auto-image-base

as linker options to avoid some problems with rebasing (adding the above 
should avoid to rebase, if I remember correctly).

But suppose that for an application foo.exe we have:

$ cygcheck foo.exe
C:\cygwin\usr/local/emacs/bin/b2m.exe
   C:\cygwin\bin\cygwin1.dll
     C:\WINDOWS\system32\ADVAPI32.DLL
       C:\WINDOWS\system32\ntdll.dll
       C:\WINDOWS\system32\KERNEL32.dll
       C:\WINDOWS\system32\RPCRT4.dll
         C:\WINDOWS\system32\Secur32.dll

i.e. 'cygwin1.dll' is the unique Cygwin DLL interested: Should we 
continue to add the above options?

Or it has not sense any more?


Thanks,
    Angelo.

---
Facesti come quei che va di notte,
che porta il lume dietro e se' non giova,
ma dopo se' fa le persone dotte.
---
                   DANTE, Purgatorio, xxii 67-69

--
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