From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: mrf Newsgroups: gmane.emacs.help Subject: Re: Running makefiles from emacs Date: Fri, 02 Jul 2021 11:13:00 +0300 Message-ID: <8735sxf7tc.fsf@cock.li> References: <87tulibyap.fsf@zoho.eu> <87pmw6oc1z.fsf@cock.li> <87k0md9cxb.fsf@zoho.eu> <87h7hggafy.fsf@cock.li> <874kdf6uo7.fsf@zoho.eu> <87bl7nf7tx.fsf@cock.li> <878s2qfja9.fsf@cock.li> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15130"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.5.8; emacs 27.2 Cc: help-gnu-emacs@gnu.org, mrf , Emanuel Berg To: Arthur Miller Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 02 10:18:19 2021 Return-path: Envelope-to: geh-help-gnu-emacs@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 1lzENM-0003fc-NZ for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 02 Jul 2021 10:18:18 +0200 Original-Received: from localhost ([::1]:52134 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lzENL-0000L9-OS for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 02 Jul 2021 04:18:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52760) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lzEMC-0000Hx-7b for help-gnu-emacs@gnu.org; Fri, 02 Jul 2021 04:17:05 -0400 Original-Received: from mail.cock.li ([37.120.193.124]:41438) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lzEM8-0005Od-TO for help-gnu-emacs@gnu.org; Fri, 02 Jul 2021 04:17:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cock.li; s=mail; t=1625213817; bh=EY+E6VE4NdvU17Kz3eW7yWiE/g2oPJC9IXgOuWMWHmI=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=U1ANOKsmJ/LYqtvL6MqUR9r7vED/iXSG8sn4HR/S75uZzQ9eAnJxi9x4W8cyFF140 ES38eBMljewowaVotGwpJ/v6J2M2QkG46Nh+3BdJz1SCqMb0Z1zz3ri02biTthUhFb JHNYU75mg6X5bFGzPH9B6qnX86ByemqUyhkviBqrlk6rYOQeeTgm2HUxYhOruCWXqi WYm+lmmyRvhEVk+BaMMWrf0Hhx5WLMABJq0ydHvQKe6NbsJt9Ydcas6VArHgVCBy6W fryHusFeCMmdJpP8XiDmgw4NWS8ezyL8dTLEeu3WqU52jf3cIBrD8uWOul6dPDz2M6 kczRv1BsLYbyg== In-reply-to: Received-SPF: pass client-ip=37.120.193.124; envelope-from=joinlaw@cock.li; helo=mail.cock.li X-Spam_score_int: 25 X-Spam_score: 2.5 X-Spam_bar: ++ X-Spam_report: (2.5 / 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, RCVD_IN_PBL=3.335, RCVD_IN_VALIDITY_RPBL=1.31, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:131382 Archived-At: Arthur Miller writes: > > Yes, TCC comes with a similar hack, but the C script is independent of > the compiler and you don't need to clutter each and every file with bash > script and linker/compiler directives in each file either. Yes exactly, I can make this line smaller (with one line) without my file time stamp hack but then it will compile each time I run this script and also I can use cc instead of gcc which will select default compiler in your system. What makes me believe my hack is better than Tiny CC and what you send is that my hack gives my the ability to use all the compiler optimizations of gcc (performant scripts). my hack is acting as stupid simple build system.