DPDK patches and discussions
 help / color / mirror / Atom feed
From: Mahdi Moradmand Badie <mahdi.mbadie@gmail.com>
To: dev@dpdk.org
Subject: [dpdk-dev] Assembly code
Date: Tue, 21 Jun 2016 17:21:00 -0400	[thread overview]
Message-ID: <CAM=H7wcr8ryJOW_gEGdKVG70J=kxQZvZzrjLKkn26vPDrCmYoQ@mail.gmail.com> (raw)

Dear All,

I used the default format of Makefile (as follow) which is available in the
examples,
I was wondering how I could generate the assembly (main.s) related to my
main.c, via Makefile.

PS. using -S doesn't work :(

ifeq ($(RTE_SDK),)
$(error "Please define RTE_SDK environment variable")
endif

# Default target, can be overriden by command line or environment
RTE_TARGET ?= x86_64-native-linuxapp-gcc

include $(RTE_SDK)/mk/rte.vars.mk

# binary name
APP = Mahdi_test

INC += $(wildcard include/*.h)

# all source are stored in SRCS-y
SRCS-y := main.c

CFLAGS += $(WERROR_FLAGS) -I $(SRCDIR)/include -I/usr/local/include

EXTRA_CFLAGS += -O3
EXTRA_CFLAGS += -Wno-error
EXTRA_CFLAGS += -std=c99

# rte.extapp.mk : External application
include $(RTE_SDK)/mk/rte.extapp.mk

-- 
M@hdi Mor@dm@nd B@die

             reply	other threads:[~2016-06-21 21:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-21 21:21 Mahdi Moradmand Badie [this message]
2016-06-22  3:27 ` Tan, Jianfeng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAM=H7wcr8ryJOW_gEGdKVG70J=kxQZvZzrjLKkn26vPDrCmYoQ@mail.gmail.com' \
    --to=mahdi.mbadie@gmail.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).