xsharp.eu • command line compiler
Page 1 of 1

command line compiler

Posted: Tue Nov 29, 2022 12:57 am
by OhioJoe
I have a bunch of old Clipper *.prg utilities that I'd like to compile and use. Most are DBF-cleanup utilities that I use in ETL projects. All are console apps. Tried using the xsc compiler command without success. Is there another way?

Thanks in advance for any help and suggestions

command line compiler

Posted: Tue Nov 29, 2022 5:01 am
by wriedmann
Hi Joe,
I would use XIDE to compile one of them, and look at the commandline parameters.
AFAIK there are a lot to pass to the compiler for clipper utilities.
Maybe you could post one of the smaller ones here so Chris or Robert can indicate the correct way.
Wolfgang
P.S. Nevertheless I would organize them in one XIDE project because it makes it easier to manage them

command line compiler

Posted: Tue Nov 29, 2022 11:51 am
by VR
I guess the easiest way is to create a x# project and then compile it using MSBuild. MSBuild takes care of calling the X# Compiler for you.

command line compiler

Posted: Wed Nov 30, 2022 5:01 pm
by OhioJoe
Thanks guys. Always appreciate the help. Which is why I'm renewing the FOX subscription today.