Click to See Complete Forum and Search --> : Compiler


Rehorav
March 29th, 2006, 08:21 AM
Well, I didn't know where to put this, so I placed it in here. I am working on a Delphi project, and I need it to be so people can put in their settings, (it writes the settings to a source file) and I have the DCC32 (Win32 Delphi Compiler) compile the source to have the .exe as an outcome. How would I do this? I want to make it so people can't see the compile (it would be included in the project) and I want the source to be included in the project, just be able to be written to.

Could someone please help me with this?

wildfrog
March 29th, 2006, 08:31 AM
It's probably just me, but can you rephrase your question?

- petter

Rehorav
March 29th, 2006, 08:50 AM
I want to add the Delphi compiler into my Work Project to compile source. The source will be editted by the user. But I need to know how I could add the source and compiler to the project, and still get them to compile/build.

MrViggy
March 29th, 2006, 05:12 PM
I'm still not quite understanding your question (it's not you, Petter!). Are you saying that your end users will be modifying code, and using the Borland compiler to compile it?

Viggy

Rehorav
March 29th, 2006, 11:16 PM
Well, if you look through your Borland Delphi files, there is the actual Compiler .exe. (DCC32.exe). I want to have the base source in a project I am making, and it to be editable from the user (the actual client program will have text boxes so the user can enter information) and the DCC32.exe (Compiler) will compile the source with the user's input information.

Or could I have it so it writes it to a .ini and you don't have to send the .ini with the .exe output?

MrViggy
March 30th, 2006, 01:15 PM
Well, in order to do that you'd have to ship the compiler; all relavent header files and all relavent libraries. Also, you'll have to get a license agreeement from Borland to ship all that to a customer.

It's possible, but I don't know if it's legal.

Viggy

RoboTact
April 10th, 2006, 05:50 PM
Why do you need to modify code? User just enters data, not code, isn't it? Save data somewhere in external file, etc. Compiling something is handy only if user needs to write code, but then again it's likely that code is on some scripting language compiler for which is third-party tool or even part of OS distribution.