command line compiler

This forum is meant for questions and discussions about the X# language and tools
Post Reply
User avatar
OhioJoe
Posts: 131
Joined: Wed Nov 22, 2017 12:51 pm
Location: United States

command line compiler

Post 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
Joe Curran
Ohio USA
User avatar
wriedmann
Posts: 3644
Joined: Mon Nov 02, 2015 5:07 pm
Location: Italy

command line compiler

Post 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
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
VR
Posts: 98
Joined: Sun Aug 23, 2020 3:07 pm
Location: Italy

command line compiler

Post 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.
User avatar
OhioJoe
Posts: 131
Joined: Wed Nov 22, 2017 12:51 pm
Location: United States

command line compiler

Post by OhioJoe »

Thanks guys. Always appreciate the help. Which is why I'm renewing the FOX subscription today.
Joe Curran
Ohio USA
Post Reply