Re: Compiling a .prg into an .exe file



On 26 Apr 2006 01:24:20 -0700, carltondickson@xxxxxxxxx wrote:

Hi guys,
Unfortunately I can not post on the newsgroups but I was hoping someone
could advise me on what I need to do after downloading and configuring
Borland free compiler (ilink.cfg and bcc55.cfg files done) and the
xharbour program, I added this path to the bcc55.cfg file
(-I"C:\xharbour\include") so borland can access the harbour
libraries...is this the correct thing to do?

I have a .prg file and need to get it in the format of .exe
I have tried the command...

C:\xharbour\bin>harbour INDXROTA.PRG

But this just generates a .C file.
I try to compile this using borland but it generate an .obj file
instead of an .exe

I am slightly confused about what the next step is in order to get to
.exe from .prg?

Does anyone have any ideas for what I should try.


Carlton.

Based upon your earlier postings, you have a Dbase 4 .prg file.
Proceeding with your current path of enquiry will not produce a dbase
4 compatible solution.

The generic steps from .prg to .exe involve a compiler to process the
..prg into a .obj file and then a linker to combine the .obj with the
language's library files to produce the .exe file. If working with the
Clipper language you would need the Clipper compiler and a compatible
linker, eg PLink, Blinker, Exospace or others.

Regards,

Ross McKenzie
ValuSoft
Melbourne Australia

valusoft AT optusnet DOT com DOT au
.



Relevant Pages

  • Borland C++ direct fpu commands
    ... for the following c stuff the borland c compiler creates something like ... EXE: push value ... So MS Visual C is much faster and does not require an external _cos ... the borland compiler to compile the c code. ...
    (comp.lang.cpp)
  • Re: If APL Is So Wonderful, How Come APL Programmers Arent Rich
    ... compiled to a single EXE: ... >> Will APEX allow me to take a set of APL2 functions and produce an .EXE ... Compiler runs under APL+Win today, ...
    (comp.lang.apl)
  • Re: Building EXE Twice Produces Different Files
    ... It think the status bar control pulls in the latest ... project type an Active EXE or Standard EXE under the properties? ... the C2 compiler, but it ends up in the finished executable. ...
    (microsoft.public.vb.general.discussion)
  • Re: How to locate compiled binary code relative to source code?
    ... > I need to be able to identify in the compiled EXE a specific location ... Your best bet is assembly language. ... Have you tried having the compiler print out the assembly language ... C++ Faq: http://www.parashift.com/c++-faq-lite C Faq: http://www.eskimo.com/~scs/c-faq/top.html alt.comp.lang.learn.c-c++ faq: ...
    (comp.programming)
  • Re: VS2005, x86/x64 build questions
    ... I created a solution with Win32 and x64 platforms and an empty C++ console ... the only changes to the compiler flags are ... there's base addr differences between those built on the XP x86 box and ... The exe is for Itanium. ...
    (microsoft.public.vc.language)