From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by sourceware.org (Postfix) with ESMTPS id 4BC083858009 for ; Sun, 22 Nov 2020 11:45:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 4BC083858009 Received: by mail-ej1-x633.google.com with SMTP id lv15so13459627ejb.12 for ; Sun, 22 Nov 2020 03:45:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language; bh=y1Ch8vvH9QrlNObM2HO98DblolR+90laszz27fGwlV0=; b=XAE5rdk4NQSr/QBnBNdUHO85B8oIcb46N9a/2vT/plYxGcQD8DHSf7ejYt/JQ0k+uo SCm999GKoLl1hALEONttD/w5mRvrCyfQ4gV3lJgo0kpvxXUyfju9JiY7fERcTTyxprLt YMVOW1eefAI7YK94mDBqxldq3Q6w4CPPmfKkdDXyoHI7fzI/IhzkN/t3qPoqEVQ+202K zlkvuEYb1kdU0Hsl3VzbHhq2A8tV5mL1Sw0bmHqmk1uJrNOeR83irQSmtdb29yvUCSqS MLny4GAn3otqzmAvu4FoKVxpns5QHH33pshw9tFo1EsLQzCcChFLHZooV5iDCmwBCMAo WvlQ== X-Gm-Message-State: AOAM531VrX4Cr3Q01S1iY0CQO/7T36zQHkixGEG0jpX4CJrt5CjXQknC x6F5qq9Q9kRzFFVsIDt3GMcgm4++X78= X-Google-Smtp-Source: ABdhPJxB1/OSFZwSZgsCzkZKXSd0tKbqSiCADgEgy1Gjl3q4xMyJVy4MIyp/OIvvkhs2ohdV8zVRXA== X-Received: by 2002:a17:906:5017:: with SMTP id s23mr42327071ejj.359.1606045498464; Sun, 22 Nov 2020 03:44:58 -0800 (PST) Received: from [192.168.0.13] ([95.180.105.28]) by smtp.gmail.com with ESMTPSA id z29sm1647950edi.1.2020.11.22.03.44.57 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 22 Nov 2020 03:44:57 -0800 (PST) To: gdb-patches@sourceware.org From: =?UTF-8?Q?gmail_Vladimir_Kokovi=c4=87?= Subject: mingw --enable-tui Message-ID: Date: Sun, 22 Nov 2020 12:44:56 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.3 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------E1558387D37E44D73437C8BE" Content-Language: en-US X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Nov 2020 11:45:01 -0000 This is a multi-part message in MIME format. --------------E1558387D37E44D73437C8BE Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hi, I managed to make mingw cross build 32 and 64, but I had to change gdb/tui//tui-win.c because of mingw64. Vladimir Koković, DP senior(70), Serbia, Belgrade, 22.November 2020 --------------E1558387D37E44D73437C8BE Content-Type: text/x-patch; charset=UTF-8; name="tui-win-c.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="tui-win-c.patch" # This patch file was generated by NetBeans IDE # It uses platform neutral UTF-8 encoding and \n newlines. --- a/tui-win.c +++ b/tui-win.c @@ -118,6 +118,17 @@ The list of values must be terminated by a NULL. After the NULL value, an entry defines the default. */ static struct tui_translate tui_border_mode_translate[] = { +#ifdef __MINGW64__ + { "normal", (int)A_NORMAL }, + { "standout", (int)A_STANDOUT }, + { "reverse", (int)A_REVERSE }, + { "half", (int)A_DIM }, + { "half-standout", (int)A_DIM | (int)A_STANDOUT }, + { "bold", (int)A_BOLD }, + { "bold-standout", (int)A_BOLD | (int)A_STANDOUT }, + { 0, 0 }, + { "normal", (int)A_NORMAL } +#else { "normal", A_NORMAL }, { "standout", A_STANDOUT }, { "reverse", A_REVERSE }, @@ -127,6 +138,7 @@ { "bold-standout", A_BOLD | A_STANDOUT }, { 0, 0 }, { "normal", A_NORMAL } +#endif }; /* Translation tables for border-kind, one for each border --------------E1558387D37E44D73437C8BE--