From nobody Sun Oct 9 15:10:24 2022 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Mllps44dJz4ds53 for ; Sun, 9 Oct 2022 15:10:29 +0000 (UTC) (envelope-from hans@beastielabs.net) Received: from ewsoutbound.kpnmail.nl (ewsoutbound.kpnmail.nl [195.121.94.185]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Mllpr0ttpz3W18 for ; Sun, 9 Oct 2022 15:10:28 +0000 (UTC) (envelope-from hans@beastielabs.net) X-KPN-MessageId: 6f52bb04-47e4-11ed-bfe8-005056999439 Received: from smtp.kpnmail.nl (unknown [10.31.155.7]) by ewsoutbound.so.kpn.org (Halon) with ESMTPS id 6f52bb04-47e4-11ed-bfe8-005056999439; Sun, 09 Oct 2022 17:09:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kpnmail.nl; s=kpnmail01; h=content-type:from:to:subject:mime-version:date:message-id; bh=sdGTxFFQQ+Lu2sQ5RQHOA+MVNfnazitbS3o3KLaJeFo=; b=in/k6Eyj/kWQgP9N6MgzjhhQ4+nySgAuCBMaETODbD9ew6A9tql7vWxa797uhEEBCK6OxKWSgXKxP O01sy+Gsdq4tLCduxco0sBXdT11pbdLYFiAZD1gP/VO3uVo59oikYZSarZ9x7ivEeZpSE4R/HK4ITL 3+rrrUDqqZchiZMk= X-KPN-MID: 33|x+0jNfqhOUzVwQQ6F1baQNS2H9nZMa4SrDbm4gI55vdiIQXPrHc60yzSyrfX/IR WSySJf5BBRN2+E1nrQPH7ig== X-KPN-VerifiedSender: No X-CMASSUN: 33|40dB93itKus6euFtIsAVEu4HFiE97WvByOAj63KfXVSrIznPA9Mvs+VSPkOVlfG K6P+gKqzb1ZZ1bj8ZuJ6YXQ== X-Originating-IP: 77.171.212.158 Received: from [192.168.66.163] (77-171-212-158.fixed.kpn.net [77.171.212.158]) by smtp.xs4all.nl (Halon) with ESMTPSA id 6c6e636b-47e4-11ed-8bc9-005056998788; Sun, 09 Oct 2022 17:09:52 +0200 (CEST) Message-ID: <93ad6766-ff31-0765-df4f-37346ab27f27@beastielabs.net> Date: Sun, 9 Oct 2022 17:10:24 +0200 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.3.2 Subject: Re: cross build toolchains for mc68000 Content-Language: en-US To: Tomek CEDRO , Wojciech Puchar Cc: freebsd-hackers@freebsd.org, FreeBSD Questions Mailing List References: <608a3c62-3f85-684-c9ac-9fe3f7b76b@puchar.net> From: Hans Ottevanger In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Mllpr0ttpz3W18 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=kpnmail.nl header.s=kpnmail01 header.b="in/k6Eyj"; dmarc=none; spf=none (mx1.freebsd.org: domain of hans@beastielabs.net has no SPF policy when checking 195.121.94.185) smtp.mailfrom=hans@beastielabs.net X-Spamd-Result: default: False [-3.39 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.988]; R_DKIM_ALLOW(-0.20)[kpnmail.nl:s=kpnmail01]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[195.121.94.185:from]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; R_SPF_NA(0.00)[no SPF record]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; ASN(0.00)[asn:8737, ipnet:195.121.64.0/18, country:NL]; DKIM_TRACE(0.00)[kpnmail.nl:+]; RCVD_COUNT_THREE(0.00)[3]; MID_RHS_MATCH_FROM(0.00)[]; HAS_XOIP(0.00)[]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[beastielabs.net]; RCVD_VIA_SMTP_AUTH(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 10/8/22 16:01, Tomek CEDRO wrote: > On Sat, Oct 8, 2022 at 3:47 PM Wojciech Puchar wrote: >> >> AFAIK gcc dropped this support so find out what version still supported >> 68k and download sources and simply compile it from scratch. >> >> For sure there are support for Amiga hunk and Atari prg executable format > > Thanks Wohciech :-) I would like to port NuttX RTOS as Atari TOS and > Amiga Kickstart replacement one day.. as for now I am researching > toolchains on FreeBSD as NuttX is close to 11.0 release :-) > There were plans to drop m68k support in GCC version 11 if certain required changes were not made. Someone made those changes, so after all m68k support remained and is present and working, even in GCC 12. However, the number of readily available host/target combinations for cross compiling is quite limited these days, so you will be mostly on your own there. I made a cross development environment for Minix-68k (mostly Atari ST and TT), hosted on FreeBSD, but also working on Linux and Mac. Maybe you could use that as a starting point. It currently works up to GCC 12.2, for C, C++ and Fortran. See http://www.beastielabs.net/crossdev.html. If you need further discussion, you can contact me off-list. -- Kind regards, Hans Ottevanger Eindhoven, Netherlands hans@beastielabs.net www.beastielabs.net