X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <47A045E3.D9225ED7@dessent.net> Date: Wed, 30 Jan 2008 01:39:47 -0800 From: Brian Dessent X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: About linker otions an rebasing References: <47A042BF DOT 6070301 AT alice DOT it> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Angelo Graziosi wrote: > I remember an old discussion on cygwin-apps that suggested to add > > -Wl,--enable-auto-import -Wl,--enable-auto-image-base auto-import has nothing to do with rebasing and is the default anyway. The only thing that specifying --enable-auto-import does is disable some informational messages that are printed during linking if auto imports are used. > i.e. 'cygwin1.dll' is the unique Cygwin DLL interested: Should we > continue to add the above options? The image base is only relevant when creating a DLL. When creating an .exe the issue is irrelevant as all executables have an image base of 0x0040000. (Well, it might vary if you adjust the default stack size allocation but the point is it cannot be hashed to a unique address.) Brian -- 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/