From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 69401 invoked by alias); 20 May 2015 16:51:22 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 69388 invoked by uid 89); 20 May 2015 16:51:21 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mail-yk0-f171.google.com Received: from mail-yk0-f171.google.com (HELO mail-yk0-f171.google.com) (209.85.160.171) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 20 May 2015 16:51:20 +0000 Received: by yked142 with SMTP id d142so6870879yke.3 for ; Wed, 20 May 2015 09:51:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=24woSRB1R4nT1uBi1pIOy5+ULOR9NH0QiRwuuuRLlAs=; b=h2XGGe1uFNxZHjs/zEcMagQ1EoeA/N0hVJBAiX9FDeRSQjU5bLccawFX3ESlelHZw1 9G9RK2Xnk6/nguSX3WUjpedeHNF6kXhRWL23+8xInIaOXeMp9gAiUGwYM4vr0Lb0u3W9 rdWHStBo6gQdFZzlh7vt42a1pTL70leqd/vnRRSiq2niC+aoV/CRpXcUMBAxfLBaO7IZ 77N7DZB7M2eq5h266pHvONiBcDN/u+dSZOp8NrR9EJ+yHKwPIHgUpRxP3sPAAwkwwClL Zgh+1lZR5Dng7ufsJaRvwbPf+5jdcqsbZAg7rD7Y5CtEe5QFnJFu4GBM43pITlLVNDlO AFmw== X-Gm-Message-State: ALoCoQm1kgYNKE+n+DUbdgpXqlLei27Jun+kufDs56G4xTFxxLbSLZ5Rvoe5wfncCuf/9UwcC/P0 MIME-Version: 1.0 X-Received: by 10.170.100.67 with SMTP id r64mr36329750yka.9.1432140678631; Wed, 20 May 2015 09:51:18 -0700 (PDT) Received: by 10.129.104.130 with HTTP; Wed, 20 May 2015 09:51:18 -0700 (PDT) In-Reply-To: References: Date: Wed, 20 May 2015 16:51:00 -0000 Message-ID: Subject: Re: GdbServer cross compile From: Stan Shebs To: Uladzimir Kryvian Cc: gdb Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-05/txt/msg00026.txt.bz2 On Wed, May 20, 2015 at 11:36 AM, Uladzimir Kryvian wrote: > Hello! > I want compile gdb server for AmigaOS. It uses m68k processor. > I've compiled "https://github.com/cahirwpz/m68k-amigaos-toolchain" and > want to use it in gdbserver compilation. > But I don't know how to do that? > > Can you help me with cross-compiling gdbserver for it? This is going to be disappointing I'm afraid - gdbserver is not a general-purpose stub. It expects to call a variety of OS system facilities to do its process control and such, and there is no AmigaOS port. Existing ports are Linux, Neutrino, and Win32; the Win32 port might be the simplest starting point for a port, but to finish will need some in-depth understanding of the Exec kernel and its API/ABI. Stan