From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21283 invoked by alias); 4 Jul 2010 20:15:14 -0000 Received: (qmail 21250 invoked by uid 22791); 4 Jul 2010 20:15:13 -0000 X-SWARE-Spam-Status: No, hits=0.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-pz0-f41.google.com (HELO mail-pz0-f41.google.com) (209.85.210.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 04 Jul 2010 20:15:08 +0000 Received: by pzk33 with SMTP id 33so1897981pzk.0 for ; Sun, 04 Jul 2010 13:15:07 -0700 (PDT) Received: by 10.142.199.21 with SMTP id w21mr285006wff.140.1278274507193; Sun, 04 Jul 2010 13:15:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.203.17 with HTTP; Sun, 4 Jul 2010 13:14:37 -0700 (PDT) Reply-To: sandr8@gmail.com In-Reply-To: References: From: Alessandro Salvatori Date: Sun, 04 Jul 2010 20:15:00 -0000 Message-ID: Subject: Re: cross remote debugging an ELF from windows with Insight To: Hui Zhu Cc: insight@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2010-q3/txt/msg00008.txt.bz2 i don't strictly need a cross toolchain, i guess I could build it directly from windows, but I guess it wouldn't be easier at all. why do you like going back and forth with quizzes? -Alessandro- On Sun, Jul 4, 2010 at 02:50, Hui Zhu wrote: > Why you think you need a cross toolchain to build insight for windows? > Can you google "What is cross toolchain" > > On Sun, Jul 4, 2010 at 17:40, Alessandro Salvatori wro= te: >> how do i (reconfigure and) build insight for windows without a cross >> toolchain??? >> >> thanks! >> -Alessandro- >> >> On Sun, Jul 4, 2010 at 02:10, Hui Zhu wrote: >>> On Sun, Jul 4, 2010 at 17:04, Alessandro Salvatori w= rote: >>>> mmm there's no official build that does that right? >>> >>> --target=3DTARGET =A0 configure for building compilers for TARGET [HOST] >>>> >>>> i guess i'll need to start from getting a mingw crosscompiler from lin= ux... >>> >>> If you just want debug, you don't need them. >>> >>> >>> >>> >>> >>>> >>>> thanks! >>>> -- >>>> -Alessandro- >>>> >>>> >>>> >>>> On Sun, Jul 4, 2010 at 01:30, Hui Zhu wrote: >>>>> On Sun, Jul 4, 2010 at 14:58, Alessandro Salvatori = wrote: >>>>>> Hi, >>>>>> >>>>>> =A0=A0 I am trying and cross-debugging remotely with insight... insi= ght is >>>>>> running on windows (32bit) and my gdbserver is running on linux >>>>>> (amd_64). I guess that the cygwin build of insight doesn't understand >>>>>> the elf format but just the PE one... >>>>> >>>>> You have known the reason. =A0 Try configure --help with insight sour= ce >>>>> to get how to set the target of insight. >>>>> >>>>>> >>>>>> when i click on "run" after having specified my target as a gdbserver >>>>>> on tcp, i have to pick my executable and as i do so I get the >>>>>> following dialog box: >>>>>> >>>>>> --------------------------- >>>>>> Error >>>>>> --------------------------- >>>>>> Error loading "/cygdrive/c/Users/alessandro/ >>>>>> Desktop/GI/guestinfo_hack": >>>>>> =A0not in executable format: File format not recognized >>>>>> >>>>>> --------------------------- >>>>>> OK >>>>>> --------------------------- >>>>>> >>>>>> thank you! >>>>>> -Alessandro- >>>>>> >>>>> >>>> >>> >> >