Compile and link

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Magix

    #1

    Compile and link

    Hi,

    I'm using Borland C Dos Compiler.

    how can I create an Dos execution file by linking? Assume that the
    compilation command is bc.
    Let say I have test1.c and test2.c, I want to create final test.exe from
    these two files. Any tips? Probably batch script will be nice.

    Thanks.

    Regards.


  • Chris Barts

    #2
    Re: Compile and link

    On Fri, 01 Oct 2004 14:31:28 +0800, Magix wrote:
    [color=blue]
    > Hi,
    >
    > I'm using Borland C Dos Compiler.[/color]

    I feel your pain.
    [color=blue]
    >
    > how can I create an Dos execution file by linking?[/color]

    By reading the relevant documentation that should have shipped with your
    compiler and linker.

    Comment

    • dandelion

      #3
      Re: Compile and link


      "Magix" <magix@asia.com > wrote in message news:415cf8e7_2 @news.tm.net.my ...[color=blue]
      > Hi,
      >
      > I'm using Borland C Dos Compiler.
      >
      > how can I create an Dos execution file by linking? Assume that the
      > compilation command is bc.
      > Let say I have test1.c and test2.c, I want to create final test.exe from
      > these two files. Any tips? Probably batch script will be nice.
      >
      > Thanks.[/color]

      RTFM.


      Comment

      • Mike Wahler

        #4
        Re: Compile and link

        "Magix" <magix@asia.com > wrote in message news:415cf8e7_2 @news.tm.net.my ...[color=blue]
        > Hi,
        >
        > I'm using Borland C Dos Compiler.
        >
        > how can I create an Dos execution file by linking? Assume that the
        > compilation command is bc.
        > Let say I have test1.c and test2.c, I want to create final test.exe from
        > these two files. Any tips? Probably batch script will be nice.[/color]

        I just bought a new coffee-maker. I'm not sure how to
        operate it. What should I do?

        -Mike


        Comment

        • E. Robert Tisdale

          #5
          Re: Compile and link

          Magix wrote:
          [color=blue]
          > I'm using Borland C Dos Compiler.
          >
          > how can I create an Dos execution file by linking?
          > Assume that the compilation command is bc.
          > Let say I have test1.c and test2.c,
          > I want to create final test.exe from these two files.
          > Any tips?[/color]

          Did you try the Borland home page?


          [color=blue]
          > Probably batch script will be nice.[/color]

          Comment

          • Kenny McCormack

            #6
            Re: Compile and link

            In article <Zof7d.356$M05. 179@newsread3.n ews.pas.earthli nk.net>,
            Mike Wahler <mkwahler@mkwah ler.net> wrote:[color=blue]
            >"Magix" <magix@asia.com > wrote in message news:415cf8e7_2 @news.tm.net.my ...[color=green]
            >> Hi,
            >>
            >> I'm using Borland C Dos Compiler.
            >>
            >> how can I create an Dos execution file by linking? Assume that the
            >> compilation command is bc.
            >> Let say I have test1.c and test2.c, I want to create final test.exe from
            >> these two files. Any tips? Probably batch script will be nice.[/color]
            >
            >I just bought a new coffee-maker. I'm not sure how to
            >operate it. What should I do?[/color]

            Let's see - maybe go to comp.machinery. coffer-makers and post an item
            that mentions the brand of coffee maker that I just bought and asks if
            anyone can help. Sounds good to me.

            (So, let's see - just bought a new C compiler - maybe go to comp.lang.c and
            post an item that mentions the brand of c compiler that I just bought and
            asks if anyone can help. Sounds good to me... Oops! What went wrong with
            this analogy?)

            Comment

            • Default User

              #7
              Re: Compile and link

              Kenny McCormack wrote:
              [color=blue]
              > (So, let's see - just bought a new C compiler - maybe go to
              > comp.lang.c and post an item that mentions the brand of c compiler
              > that I just bought and asks if anyone can help. Sounds good to me...
              > Oops! What went wrong with this analogy?)[/color]


              Hmmmm, lessee, how did it take this long for Kenny to get into my new
              killfile?

              No matter, problem corrected.




              Brian Rodenborn

              Comment

              • Kenny McCormack

                #8
                Re: Compile and link

                In article <I4x9xI.MKz@new s.boeing.com>,
                Default User <first.last@boe ing.com.invalid > wrote:[color=blue]
                >Kenny McCormack wrote:
                >[color=green]
                >> (So, let's see - just bought a new C compiler - maybe go to
                >> comp.lang.c and post an item that mentions the brand of c compiler
                >> that I just bought and asks if anyone can help. Sounds good to me...
                >> Oops! What went wrong with this analogy?)[/color]
                >
                >
                >Hmmmm, lessee, how did it take this long for Kenny to get into my new
                >killfile?
                >
                >No matter, problem corrected.[/color]

                Your killfile doesn't work...

                Comment

                • ozbear

                  #9
                  Re: Compile and link

                  On Fri, 01 Oct 2004 16:15:53 GMT, "Mike Wahler"
                  <mkwahler@mkwah ler.net> wrote:
                  [color=blue]
                  >"Magix" <magix@asia.com > wrote in message news:415cf8e7_2 @news.tm.net.my ...[color=green]
                  >> Hi,
                  >>
                  >> I'm using Borland C Dos Compiler.
                  >>
                  >> how can I create an Dos execution file by linking? Assume that the
                  >> compilation command is bc.
                  >> Let say I have test1.c and test2.c, I want to create final test.exe from
                  >> these two files. Any tips? Probably batch script will be nice.[/color]
                  >
                  >I just bought a new coffee-maker. I'm not sure how to
                  >operate it. What should I do?
                  >
                  >-Mike
                  >
                  >[/color]

                  Check the FAQ under the coffee-maker section.

                  Oz
                  --
                  A: Because it fouls the order in which people normally read text.
                  Q: Why is top-posting such a bad thing?
                  A: Top-posting.
                  Q: What is the most annoying thing on usenet and in e-mail?

                  Comment

                  • E. Robert Tisdale

                    #10
                    Re: Compile and link

                    Kenny McCormack wrote:
                    [color=blue]
                    > Something that calls itself Default User wrote:
                    >[color=green]
                    >>Hmmmm, lessee, how did it take this long for Kenny to get into my new
                    >>killfile?
                    >>
                    >>No matter, problem corrected.[/color]
                    >
                    > Your killfile doesn't work...[/color]

                    It's just a troll.
                    Please ignore it.

                    Comment

                    • Kenny McCormack

                      #11
                      Re: Compile and link

                      In article <cjkm3l$g0f$1@n ntp1.jpl.nasa.g ov>,
                      E. Robert Tisdale <E.Robert.Tisda le@jpl.nasa.gov > wrote:[color=blue]
                      >Kenny McCormack wrote:
                      >[color=green]
                      >> Something that calls itself Default User wrote:
                      >>[color=darkred]
                      >>>Hmmmm, lessee, how did it take this long for Kenny to get into my new
                      >>>killfile?
                      >>>
                      >>>No matter, problem corrected.[/color]
                      >>
                      >> Your killfile doesn't work...[/color]
                      >
                      >It's just a troll.
                      >Please ignore it.[/color]

                      According to the new (read: wrong) definition of troll. That is, "someone
                      I disagree with".

                      HTH.

                      Comment

                      • Martin Ambuhl

                        #12
                        Re: Compile and link

                        ozbear wrote:
                        [color=blue]
                        > Check the FAQ under the coffee-maker section.[/color]

                        Or go to
                        <URL:http://space.mit.edu/ACIS/coffee.html>

                        Comment

                        • E. Robert Tisdale

                          #13
                          Re: Compile and link

                          Kenny McCormack wrote:
                          [color=blue]
                          > According to the new (read: wrong) definition of troll.
                          > That is, "someone I disagree with".[/color]

                          I know of three definitions in this context:

                          1. According to the Free On-Line Dictionary Of Computing (FOLDOC)



                          "troll

                          An electronic mail message, Usenet posting
                          or other (electronic) communication which is intentionally incorrect,
                          but not overtly controversial (compare flame bait),
                          or the act of sending such a message. Trolling aims to elicit
                          an emotional reaction from those with a hair-trigger on the reply key.
                          A really subtle troll makes some people lose their minds."

                          2. Indigenous trolls like those in The Three Billy Goats Gruff



                          These are hideous predatory creatures who live under bridges
                          (Usenet newsgroups) and snack on billy goats
                          (unwary new subscribers).

                          3. An epithet that debaters hurl at their opponents
                          when they lose and argument -- the definition that you cite.


                          Abuse of new subscribers by indigenous trolls
                          follows a typical pattern:

                          * The new subscriber posts a question.
                          * An indigenous troll insults the new subscriber.
                          * The new subscriber complains.
                          * Another troll accuses the new subscriber of being "rude".
                          * Plonk! The new subscriber is "killfiled"
                          by one or more indigenous trolls.

                          It's important to learn to recognize trolls and ignore them.

                          Comment

                          • Jack Klein

                            #14
                            Re: Compile and link

                            On Fri, 1 Oct 2004 14:31:28 +0800, "Magix" <magix@asia.com > wrote in
                            comp.lang.c:
                            [color=blue]
                            > Hi,
                            >
                            > I'm using Borland C Dos Compiler.
                            >
                            > how can I create an Dos execution file by linking? Assume that the
                            > compilation command is bc.
                            > Let say I have test1.c and test2.c, I want to create final test.exe from
                            > these two files. Any tips? Probably batch script will be nice.
                            >
                            > Thanks.
                            >
                            > Regards.[/color]

                            Questions about how to use a specific set of tools are considered
                            off-topic here, as they are not defined by the language.

                            Borland has a large number of support groups for their products on
                            their server nntp://newsgroups.borl and.com. The group
                            borland.public. cpp.borlandcpp covers older versions of their
                            compilers.

                            When you post there, it is best to specify the exact version number of
                            your compiler.

                            --
                            Jack Klein
                            Home: http://JK-Technology.Com
                            FAQs for
                            comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
                            comp.lang.c++ http://www.parashift.com/c++-faq-lite/
                            alt.comp.lang.l earn.c-c++

                            Comment

                            • Kenny McCormack

                              #15
                              Re: Compile and link

                              In article <cjktjk$jn3$1@n ntp1.jpl.nasa.g ov>,
                              E. Robert Tisdale <E.Robert.Tisda le@jpl.nasa.gov > wrote:
                              ....[color=blue]
                              >Abuse of new subscribers by indigenous trolls
                              >follows a typical pattern:
                              >
                              >* The new subscriber posts a question.
                              >* An indigenous troll insults the new subscriber.
                              >* The new subscriber complains.
                              >* Another troll accuses the new subscriber of being "rude".
                              >* Plonk! The new subscriber is "killfiled"
                              > by one or more indigenous trolls.[/color]

                              Indeed.
                              You've just described every thread in this NG.
                              [color=blue]
                              >It's important to learn to recognize trolls and ignore them.[/color]

                              If you did that, you'd ignore every post/thread in this NG.
                              And, where's the fun in that?

                              Comment

                              Working...