[fpc-pascal] Build script on Windows

Sandro Cumerlato sandro.cumerlato at gmail.com
Tue Oct 11 12:56:40 CEST 2016

I find convenient create a batch file "_buil.bat" to compile a specific
project under Windows, targeting bot i386 and x86_64 in sequence at once.

You can add parameters to set searching paths, output directory, compiler
flags, etc... it is hard retype the entire command line every time.

Best regards.

Sandro Cumerlato

On 11 Oct 2016 10:35, "Ryan Joseph" <ryan at thealchemistguild.com> wrote:

> > On Oct 11, 2016, at 2:04 PM, Jonas Maebe <jonas.maebe at elis.ugent.be>
> wrote:
> >
> > FPC is installed by default in c:\fpc, I think. The compiler binaries
> > are somewhere under there (c:\fpc\bin\win32 or so?). I think our
> > installer adds this directory to your PATH by default under Windows, so
> > you should be able to use the compiler in a command line window just
> > like on OS X/macOS.
> Ok, I did some more research and found that fpc is at
> c:\lazarus\fpc\2.6.4\bin\i386-win32 and a “dir” command shows there is a
> fpc.exe that works. Note just “fpc” doesn’t work so I guess I need to add
> that myself but I’m struggling trying to figure out the command prompt
> program. Copy and paste should be easier than this. Is there another
> terminal that Windows users like? I really don’t understand why you can’t
> just paste or select text like you would in any other terminal.
> Regards,
>         Ryan Joseph
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20161011/db80c3d2/attachment.html>

More information about the fpc-pascal mailing list