From nobody Mon Oct 10 17:27:02 2022 X-Original-To: freebsd-hackers@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 4MmQpD4L8Cz4fqkn for ; Mon, 10 Oct 2022 17:27:16 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MmQpC5pHvz4M19 for ; Mon, 10 Oct 2022 17:27:15 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-qt1-x82e.google.com with SMTP id bb5so1526645qtb.11 for ; Mon, 10 Oct 2022 10:27:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=8/M2tFbGaF7FsCGcUyzzTRzoBuRTAwAe1H2qC13G2m0=; b=GOX++pM8/eNzNhFxGMw8/wQZP23zOBX3WPm16zC6pp8BRIflNUQtbQ7FJU7Kya0+7X KIWEAeZYS3Mb4nXaGpSBO6fqGXOiTEyVj166o77r+h5H8Zq/6U3C8u9wbhVq1Ppt8I0a FI6YEv/Q5mmzwCJrxrSlSCk4uh1tiYwgFr5EKkftiwlP+mhQPI/xsg+mgUYSJ+hCHG8+ +p6PWrCv+QLT+Kwoa8dgxUYaoXm2fpHbySRx48sSv42jIHDb7WEs5hmEjVGKnYQSGHU8 5rkKP4CXorxtSYeYYnJe03xoNIszNHEPcop2AVNQ/oO00xRyeNO9tF645l/DgjhqGvg/ xhFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8/M2tFbGaF7FsCGcUyzzTRzoBuRTAwAe1H2qC13G2m0=; b=fm6MjPH1nQhqjSWMqj0/ONjHQH2zqvpi7bOIfXvR2jy2A2jPKrBP8+I4kDQbFzwmDC 5VmPCQYI3VWZhJzZUSV5eURp4gB+Hmk/HA4g94/sSlgCtUJqYYws+257Gp7pDz4sgq5e oX1o2ON67DynGeUyAsPIVjQ1uTOe/YpNeSbv+S6abpCROnbBT301q/bbmEcQgIOAOlBX 855QDuLt6WRyQM3Zz2Gw7j76CHXncUbGo1aLugZ8LN9x57nzVwbqxoKY+93gwD4VuMtz b3B8RuStdWdJ+a27dEGioLZM7IJMgIwiHZBG6xhraY6XI4IxFsljhNIDuRld9Fh/YCVV 90uw== X-Gm-Message-State: ACrzQf2bTGsErnpZntW35+Uq8jcHzRzCxLaUn4gea5Bmz3YTdRJA8du9 FFYB84jXjjPwvEnOJB8Jtn0JfPDifEiKyQ== X-Google-Smtp-Source: AMsMyM5303VP9+Kf9P08f7RvzbBRGbhCMj0qQXw+JR0K36ZGiv99as4qk9QaVKqUZCtzD2rUO2OWQw== X-Received: by 2002:ac8:7fc1:0:b0:35c:be1b:2831 with SMTP id b1-20020ac87fc1000000b0035cbe1b2831mr15780234qtk.353.1665422835016; Mon, 10 Oct 2022 10:27:15 -0700 (PDT) Received: from mail-yb1-f178.google.com (mail-yb1-f178.google.com. [209.85.219.178]) by smtp.gmail.com with ESMTPSA id ga25-20020a05622a591900b0035d1f846b91sm8880724qtb.64.2022.10.10.10.27.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Oct 2022 10:27:14 -0700 (PDT) Received: by mail-yb1-f178.google.com with SMTP id 81so13744498ybf.7; Mon, 10 Oct 2022 10:27:14 -0700 (PDT) X-Received: by 2002:a25:cf87:0:b0:6be:6c1b:cafb with SMTP id f129-20020a25cf87000000b006be6c1bcafbmr18679615ybg.402.1665422833736; Mon, 10 Oct 2022 10:27:13 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 References: <608a3c62-3f85-684-c9ac-9fe3f7b76b@puchar.net> <93ad6766-ff31-0765-df4f-37346ab27f27@beastielabs.net> In-Reply-To: <93ad6766-ff31-0765-df4f-37346ab27f27@beastielabs.net> From: Tomek CEDRO Date: Mon, 10 Oct 2022 19:27:02 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: cross build toolchains for mc68000 To: Hans Ottevanger Cc: Wojciech Puchar , freebsd-hackers@freebsd.org, FreeBSD Questions Mailing List Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4MmQpC5pHvz4M19 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=GOX++pM8; dmarc=none; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2607:f8b0:4864:20::82e) smtp.mailfrom=tomek@cedro.info X-Spamd-Result: default: False [-3.30 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::82e:from,209.85.219.178:received]; RCVD_VIA_SMTP_AUTH(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; R_SPF_NA(0.00)[no SPF record]; DKIM_TRACE(0.00)[cedro.info:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DMARC_NA(0.00)[cedro.info]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; RCPT_COUNT_THREE(0.00)[4]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; TO_DN_SOME(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-ThisMailContainsUnwantedMimeParts: N On Sun, Oct 9, 2022 at 5:10 PM Hans Ottevanger wrote: > 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. Thank You Hans! That looks like a perfect bootstrap of the mc68k build environment with results that can be verified out-of-the box! :-) Have you considered moving your mc68k toolchain and maybe even Minix to FreeBSD Ports so anyone could build is / install with pkg? :-) I will send further questions in a private messages :-) Thank you! :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info