From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B1EB3C433EF for ; Tue, 14 Dec 2021 14:56:07 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 845F580D1C; Tue, 14 Dec 2021 15:56:05 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=etri.re.kr Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=dooray.com header.i=@dooray.com header.b="fA7JvsEt"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2A28D80D1C; Tue, 14 Dec 2021 15:56:03 +0100 (CET) Received: from mscreen.etri.re.kr (mscreen.etri.re.kr [129.254.9.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D66C88022E for ; Tue, 14 Dec 2021 15:55:55 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=etri.re.kr Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ckim@etri.re.kr Received: from unknown (HELO send002-relay.gov-dooray.com) (211.180.235.153) by 129.254.9.16 with ESMTP; 14 Dec 2021 23:55:52 +0900 X-Original-SENDERIP: 211.180.235.153 X-Original-MAILFROM: ckim@etri.re.kr X-Original-RCPTTO: u-boot@lists.denx.de Received: from [10.162.225.112] (HELO smtp002-imp.gov-dooray.com) ([10.162.225.112]) by send002-relay.gov-dooray.com with SMTP id b8cc0c3661b8b077; Tue, 14 Dec 2021 23:55:51 +0900 DKIM-Signature: a=rsa-sha256; b=fA7JvsEtvDrorOQssTnmvrf1dt3Ce4dVc47BFsZoIP4MQWLgimEfVfQi+TvaqCm9C2GIP++StL 3LxPoWcNZq1+IBJVcgsEz/vAZkW2f02yS0NyxkZVQ5IB1JBZvDaZqty1tr+/TvwWVO2LAWiXKFRD cCtyvnTMstIYdne0vFr+l84AteEik6qOqhwkUR5N6le5WyDXkDoj6Tk8zHHjlJu/fe9W2kuIxf5Q HUCEDnBj/D81ZjQ5JkQ2yP+VRpxZoKQfe1NW1zIjNYBAO0NM7YCd4654ehIIdwHNcIZ/emwKYuGg XNKPjNEE2YZfie3NllzFE/oxYEEXyWC+j43KNzRA==; c=relaxed/relaxed; s=selector; d=dooray.com; v=1; bh=oQoT7Kuc8XrKG6rA0l1o9trrJSoUJxILjLxVXkygmqE=; h=From:To:Subject:Message-ID; Received: from [129.254.132.39] (HELO CHANKIMPC) ([129.254.132.39]) by smtp002-imp.gov-dooray.com with SMTP id b01c817e61b8b077; Tue, 14 Dec 2021 23:55:51 +0900 From: "Chan Kim" To: "'Rasmus Villemoes'" , References: <03e701d7f0c3$e9dd91a0$bd98b4e0$@etri.re.kr> In-Reply-To: Subject: RE: how to see cpp(C preprocessor) output for a file? Date: Tue, 14 Dec 2021 23:55:50 +0900 Message-ID: <053e01d7f0fa$afa40050$0eec00f0$@etri.re.kr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQF5lrrDig3ysSRvrguKHFgnGYclGgIxY32BrN08nXA= Content-Language: ko X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Wow that would be very helpful. Thank you! Chan > -----Original Message----- > From: Rasmus Villemoes > Sent: Tuesday, December 14, 2021 9:23 PM > To: ckim@etri.re.kr; u-boot@lists.denx.de > Subject: Re: how to see cpp(C preprocessor) output for a file? > > On 14/12/2021 09.23, ckim@etri.re.kr wrote: > > Hello, > > > > Is there any way I can see the cpp output of a file (for example > > arch/arm/lib/vsprintf.c) after the build? (in the Makefile option for > > example) > > make foo/bar/baz.i > > for any foo/bar/baz.c file which normally produces foo/bar/baz.o. > > If you have a arch/bla/xyz.S file, you can similarly do > > make arch/bla/xyz.s > > to run the preprocessor on the .S code. And if you want to see the > assembly generated from a .c file, > > make foo/bar/baz.s > > also works. > > Rasmus