linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sudheer Vutukuru <sudheer.vutukuru@gmail.com>
To: linux-c-programming@vger.kernel.org
Subject: sequence of steps that goes from compilation to execution
Date: Wed, 18 Aug 2004 01:04:51 +0530	[thread overview]
Message-ID: <55ee29e004081712346075d5b4@mail.gmail.com> (raw)

Hi all,

    Why a program which is compiled on linux does not execute on windows.. 
(though the machine architecture is same)..

 Also   Can u please suggest me references or help me in knowing the
details of what goes on, from compilation to execution (i.e how
loading,linking libraries is done.. how addresses
are known dynamically etc.. ).

 for string literals whether memory is allocated in heap or in code
segment only..
i.e char* ptr = "Hello World";
  the ptr points into code segement or heap..

  Thanks,

***************************************************************************
 V V N Sudheer,
 Master of Technology,
 Dept. of Computer Science,
 IIT Kanpur.
***************************************************************************

             reply	other threads:[~2004-08-17 19:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-17 19:34 Sudheer Vutukuru [this message]
2004-08-18 12:10 ` sequence of steps that goes from compilation to execution Jan-Benedict Glaw
  -- strict thread matches above, loose matches on Subject: below --
2004-08-23 15:50 Huber, George K RDECOM CERDEC STCD SRI

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=55ee29e004081712346075d5b4@mail.gmail.com \
    --to=sudheer.vutukuru@gmail.com \
    --cc=linux-c-programming@vger.kernel.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).