X-Recipient: archive-cygwin@delorie.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.graziosi@alice.it>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: About linker options an rebasing
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

