From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?UTF-8?Q?Nicolas_B=C3=A9rtolo?= Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] [WIP] Port feature/native-comp to Windows. Date: Sun, 10 May 2020 16:07:07 -0300 Message-ID: References: <5eb5b953.1c69fb81.a67ce.a764@mx.google.com> <83lfm1hc91.fsf@gnu.org> <83wo5lds87.fsf@gnu.org> <83imh3d840.fsf@gnu.org> <83eerrd4mb.fsf@gnu.org> <83d07bd35c.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="127693"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, Andrea Corallo To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 10 21:08:07 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jXrJ1-000X7f-5x for ged-emacs-devel@m.gmane-mx.org; Sun, 10 May 2020 21:08:07 +0200 Original-Received: from localhost ([::1]:46060 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jXrJ0-0004KC-3f for ged-emacs-devel@m.gmane-mx.org; Sun, 10 May 2020 15:08:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48208) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jXrIH-0003lG-Bs for emacs-devel@gnu.org; Sun, 10 May 2020 15:07:21 -0400 Original-Received: from mail-ot1-x329.google.com ([2607:f8b0:4864:20::329]:32947) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jXrIG-0000Li-Jl; Sun, 10 May 2020 15:07:21 -0400 Original-Received: by mail-ot1-x329.google.com with SMTP id j26so5854413ots.0; Sun, 10 May 2020 12:07:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0zhc97Fszjyt9tBnoDh+mbO5NLWYEbaSLRgvkyOEWi4=; b=MB1c9WLfu949DBkQzrlNkD4ohM3zD+kd/zCTxXks26V6LU91TWoWdSmDUvKENYlfi1 apPRdny6pEGYTIOWmWTHKwkXCfoYb3IPtgJZQ02PInFrxJW124jj21PIZscYO7bV4XIa TjziTNyjIuV+GQXLbprWZkSapX/KISLSYGOnIQXt6B1xwR3ud4mz64Zs2hRajlNJmsfZ Gydbhm8CMrqdleFwGSDsP2Ih3PYJ3MR6ra8zkMNP8Hv3jjP7ZIrXoHxhNt+UN8sGLex5 BH/1bL9h8b3aMSkVrzoHyeU12IzXNq2OIKEntPAXM26BVN8ZgARvxycVN5G+a0ijok+H CJpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0zhc97Fszjyt9tBnoDh+mbO5NLWYEbaSLRgvkyOEWi4=; b=UQwQVmy/iFPfwADZtQyNdlfQTdiZV5MQWbXgL5WzfFStHL/uN9Rla5u3uYtKNxuG9J JJS+5SvbhoveKGAPTe4ANUzWBnod7XbWW9DG2+pcQqekjY8HJ5yMcmAEXvlCEbJSaDKs 0nFMrL5yCejiYxGxoHkyGO8Fh17eHhoyJJ7/gDRsEM5rk8dqhu8S5XMQ1pbaXu5htue8 iJ9bIGsDEYOXpDLXbWINIzlY79xhsQNHZDFN56czmkx14LjM/2KbbVO6+bbJjIy0Xia0 3je/tmtoLqhXXVgtOoJTmFrmEkMLiwx5zgvX3eveZuhNezvnwkUTAQHHtvI0q/whcL/D zaSQ== X-Gm-Message-State: AGi0PubPzvRUHj8Ye8Jf7+qyOH4kDzqhlWA6ydPBRu7Xhy4bAZNxxX1X MuZgC7NC/n1rTMZorDmmG9lqwj7+/DHbNQovDZuQQseEYwKgJQ== X-Google-Smtp-Source: APiQypIlBIN/VeDE62lLkz++74pup2SxcNZ6hU/CTNLb//YNorg/+mMF9+AKc1koCMWkLlEvYc4VnmPNJarsSX9eZ8M= X-Received: by 2002:a9d:3988:: with SMTP id y8mr9526882otb.352.1589137638773; Sun, 10 May 2020 12:07:18 -0700 (PDT) In-Reply-To: <83d07bd35c.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::329; envelope-from=nicolasbertolo@gmail.com; helo=mail-ot1-x329.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:249700 Archived-At: > Someone, perhaps you, mentioned -nostdlib option to gcc, which might > be the answer to this question, but then why use -nostdlib at all? I tried this. It creates the libraries fine, but LoadLibrary() fails to load the library because the entry point is not defined. This is why we need to include the CRT, and all its dependencies. The issue is actually finding what as.exe collect2.exe and ld.exe to call. See my other reply to Eli.