X-Spam-Check-By: sourceware.org From: "Dave Korn" To: Subject: RE: ld: cannot perform PE operations on not PE files ... Date: Tue, 14 Nov 2006 10:13:10 -0000 Message-ID: <016301c707d5$7cdfd1e0$a501a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <45599342.1060005@tiscali.it> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 On 14 November 2006 09:58, Salvatore D'Angelo wrote: > In the Dave solution I noticed the size of final image is 528 instead of > 512 (the size of the bootsector) as in Linux. Why? Seems like your bootsect.out ended up containing __CTOR_LIST__ and __DTOR_LIST__. Are you /absolutely/ sure you remembered to give the '-r' option to ld? cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/