pascal?

This is a discussion on pascal? within the A Brief History of Cprogramming.com forums, part of the Community Boards category; hmm i have a question. after i wrote a program in pascal i want to export an EXE file but ...

  1. #1
    Registered User
    Join Date
    Mar 2002
    Posts
    88

    pascal?

    hmm

    i have a question.

    after i wrote a program in pascal

    i want to export an EXE file

    but i dont know how

    so can some body tell me??

  2. #2
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,386
    Can you, or someone else, explain what is meant with exporting an EXE file?

  3. #3
    Registered User
    Join Date
    Mar 2002
    Posts
    88
    hmmm


    for ex.

    you wrote a program
    and you want show it to someone
    at his computer
    but he dont have pascal

    so in C or C++ and many more
    after you compiled and built yor code
    it automatcly makes an EXE file

    but in pascal its not

    you must do it manualy
    and i dont know how

  4. #4
    www.entropysink.com
    Join Date
    Feb 2002
    Posts
    605
    Errr

    Don't know pascal, but I just found this...

    * How do I make EXE files with Turbo Pascal?

    In Turbo Pascal, in the compile menu, select COMPILE TO MEMORY. Open the menu
    again, and it should say COMPILE TO DISK. Then select COMPILE, and it will
    create the file XXX.EXE, where XXX is the name of your .PAS file.
    Visit entropysink.com - It's what your PC is made for!

  5. #5
    Registered User
    Join Date
    Mar 2002
    Posts
    88
    oohhh


    thanx a lot

    ill try this

  6. #6
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,386
    To GodLike:

    Now I understand. English is not my first language and I didn't know that exporting an EXE is the same as compiling a program.

    Just like C and C++ there are also compilers for Pascal. I don't know what you mean with manually, perhaps using the command-line? Most compilers can be used on the command line. A lot of compilers come with an IDE which has a nice menu.

    If you don't use Turbo Pascal, which compiler do you use?

  7. #7
    Registered User
    Join Date
    Mar 2002
    Posts
    88
    hmm


    i am using turbo pascal

    but
    exporting an EXE is not the same as Compile

    The Compile just run your program

    and exportin an EXE
    is like BUILD or MAKE

    its create an EXE file

    even in VC++ 6
    you click on BUILD

    and english is not my first languge too

    and hmm

    i dont sure that its rigth to say EXPORT EXE

    but what the heck


    and RobR - it worked
    thanx

  8. #8
    www.entropysink.com
    Join Date
    Feb 2002
    Posts
    605
    Wow. I got something right!!!
    Visit entropysink.com - It's what your PC is made for!

  9. #9
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,386
    >The Compile just run your program

    If I am correct then compiling source-code means creating binaries of that code.

    A make-file is used by the make-utility, the make-file contains information on how to build/make the program. This requires compiling and linking. So I think compiling is a process within the make/build-process.

  10. #10
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    A compiler takes source code and outputs relocatable object code. To make a runable module, the relocatable object needs to be "located", and all the external references resolved. This is normally done by the linker.

    Build/Make files/utilities tell the linker what to use to build a module from the variety of relocatable object files it has at it's disposal.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  11. #11
    Registered User
    Join Date
    Mar 2002
    Posts
    88
    yes yes something like this

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Pascal
    By cogeek in forum Tech Board
    Replies: 32
    Last Post: 11-20-2004, 03:19 AM
  2. C & Pascal Help
    By Dragon227Slayer in forum C Programming
    Replies: 4
    Last Post: 12-01-2003, 08:40 AM
  3. Compares C++ and Pascal
    By Jaguar in forum A Brief History of Cprogramming.com
    Replies: 13
    Last Post: 07-19-2002, 11:28 AM
  4. Pascal Compiler
    By (TNT) in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 04-09-2002, 12:57 AM
  5. Pascal "with()" in C++
    By larry in forum C++ Programming
    Replies: 3
    Last Post: 09-27-2001, 02:04 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21