Recent Changes - Search:

* PCAN

* Phix

edit SideBar

CompilingPhixVsOtherLanguages

Index | Core Language | Phix vs Conventional Languages | Compiling Phix vs Other Languages

Compiling Phix vs Other Languages

I once saw a post on a mailing list asking how to compile a simple C++ program, the answer given was: g++ -o sample_browser.exe ole_browser.cpp -I../../../include -L../../../lib/mingw6 -liupole -liup -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -lcomctl32 which struck me as (not particularly unusual and) somewhat harder to enter/remember than p -c ole_browser Admittedly you might want "-norun" or "-d" and maybe "-dumpil" or "-nodiag" options, but that’s it, relating to compilation. The only other command line options are "-p" [not intended for general use, windows-only create pw.exe from p.exe or vice versa], "-batch" [suppress prompts on error, meant for test/terror], and "-isense" [an editor thing, for intellisense lookups]. Oh, I suppose I should also mention "stub includes" such as builtins/pGUI.e which is just "include ../demo/pGUI/pGUI.e" or a win32lib.ew containing (say) "include ../win32lib7/win32lib.ew".

In XE2, I kid thee not, there are a total of 35 screenfuls of build configuration options, times at least 6 levels of target hierarchy, plus 81 screens of IDE options, both of which are dwarfed by 70-odd properties and some 49 events on each and every gui component. Worst of all, there is no search or filter for any of that lot.

< Phix vs Functional Languages | Index | Comments >

Edit - History - Print - Recent Changes - Search
Page last modified on April 16, 2026, at 03:28 PM