From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 123743 invoked by alias); 24 Dec 2017 19:44:22 -0000 Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org Received: (qmail 123726 invoked by uid 89); 24 Dec 2017 19:44:22 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=HTo:U*java, H*r:sk:java@gc, H*Ad:U*java, crude X-HELO: mail-wm0-f46.google.com Received: from mail-wm0-f46.google.com (HELO mail-wm0-f46.google.com) (74.125.82.46) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 24 Dec 2017 19:44:20 +0000 Received: by mail-wm0-f46.google.com with SMTP id f9so29823648wmh.0 for ; Sun, 24 Dec 2017 11:44:20 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=upwPmlUHtB3tAMGtQrDkKEnBz8mC6WEQ8qqtg7+kV9w=; b=YYCS44MgbiJGj6TcwMZZg6By3tRq/IN9ogvOk8Lte6TechUFTJR3GYEXAEVOajxkcS 1GrvTyXDv/ruUjxi0pUgRHaoIaJsr1VolLTlC+3PoyTK1HlskHGwBHEHQP1iDajHXXPv BWPF2jJF2VrVXIXY04no0vesfSR6xrSoWq4aCwr946KT3DbyYOiBHyxDBMM13jpqrUN1 ECfeGgwjNFWATUCOuTfx1AmiwlnwqopTATZxRCTJENyPeoCkREw3FK9eZ1DQUAlEcEd8 FVBgsyrV/9gl360Sq722dOfxq027/UZ56GXa68BLMFPErsqnmzbKTnpssci74QtFiy7f lq6A== X-Gm-Message-State: AKGB3mKiRktsGEscS4YFXBiPr4jIBR03A7vHHKeeHPFi5ELx54XsrHex Y+03+St7/Q51OYppj3R1wBT09AxVRJ+Rc49obJs= X-Google-Smtp-Source: ACJfBovvK5aANRUormpsWi90Gg2Px47ZOZLIWAbqrnuTGbfygQcGb9ci1C0+GMW3PyOT+k0iuhUbhzF1iGT/J//G8Tw= X-Received: by 10.28.136.66 with SMTP id k63mr18365451wmd.50.1514144658318; Sun, 24 Dec 2017 11:44:18 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.169.227 with HTTP; Sun, 24 Dec 2017 11:44:17 -0800 (PST) From: Yale Zhang Date: Sun, 24 Dec 2017 19:44:00 -0000 Message-ID: Subject: add support for x86_64-w64-mingw32 and cut the fat from libgcj To: java@gcc.gnu.org Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2017-12/txt/msg00000.txt.bz2 Greetings. I have a patch that allows GNU java to target MingW64 (host=GNU/Linux only). Are you guys still taking patches now that Java has been removed from GCC 7? Or would it be more appropriate to host it on my own website or instructables.com? I also have another patch that cuts all the GUI, cryptography, and non UTF8/16 charset support from libgcj. This reduces the size of statically linked EXEs a lot (~27MiB to 4.5 MiB for a hello world program). This is important for a legacy utility that other developers use on Windows and who don't want to install a Java runtime. Commenting out and deleting code is a crude way to do, I know. Should use conditional compilation and even explore what's causing GUI code to be dragged into a hello world program. Maybe dead code removal isn't working (need to compile with -ffunction-sections and --gc-sections?) appreciate your feedback, -Yale