* How to Include kernel macros in a program and compile through GCC Options
@ 2008-01-21 10:36 karimas
0 siblings, 0 replies; only message in thread
From: karimas @ 2008-01-21 10:36 UTC (permalink / raw)
To: gcc-help
I want to use some kernel macros such as cpu_has_tsc and barrier() in
a program and want to compile it through gcc i.e. not as kernel
module. what parameters I have to pass to the gcc compilter while
doing so. Or there is any other way to do it. Basically I want to
access some system parameters for some performance measurement.
Is it possible. If yes; can any one specify the steps.
Thanks in advance
Karim Asif
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-01-19 12:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-21 10:36 How to Include kernel macros in a program and compile through GCC Options karimas
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 read-only IMAP folder(s) and NNTP newsgroup(s).