[Help] Using the actual purebasic compiler?
-
- Enthusiast
- Posts: 125
- Joined: Sat Jun 17, 2006 3:15 pm
[Help] Using the actual purebasic compiler?
Has anyone ever written a guide or example on how to use the purebasic compiler? By this i mean for example creating an executable from some source. If so could i see it? Serious posters only please...I don't want to be bombarded by "Open PureBasic, go into Compiler and create executable"'s. :roll:
Thanks for reading. - Orig
Thanks for reading. - Orig
- Fluid Byte
- Addict
- Posts: 2336
- Joined: Fri Jul 21, 2006 4:41 am
- Location: Berlin, Germany
RTFM! All commandline parameters for the compiler are listed in the docs.
Windows 10 Pro, 64-Bit / Whose Hoff is it anyway?
-
- Enthusiast
- Posts: 125
- Joined: Sat Jun 17, 2006 3:15 pm
-
- Enthusiast
- Posts: 125
- Joined: Sat Jun 17, 2006 3:15 pm
- Fluid Byte
- Addict
- Posts: 2336
- Joined: Fri Jul 21, 2006 4:41 am
- Location: Berlin, Germany
In PureBasic 4.10, the 'CompilerInterface.txt' in the LibrarySDK folder might be what you
are looking for.
are looking for.
Windows 10 Pro, 64-Bit / Whose Hoff is it anyway?
- Fluid Byte
- Addict
- Posts: 2336
- Joined: Fri Jul 21, 2006 4:41 am
- Location: Berlin, Germany
The compiler doesn't support writing a particular string to a particular file at a particular position by using commandline. You could hack a basic interpreter together for this task.
Last edited by Fluid Byte on Thu Sep 20, 2007 2:58 pm, edited 1 time in total.
Windows 10 Pro, 64-Bit / Whose Hoff is it anyway?
freak wrote:In PureBasic 4.10, the 'CompilerInterface.txt' in the LibrarySDK folder might be what you
are looking for.
freak wrote:In PureBasic 4.10, the 'CompilerInterface.txt' in the LibrarySDK folder might be what you
are looking for.
thefool wrote:In PureBasic 4.10, the 'CompilerInterface.txt' in the LibrarySDK folder might be what you
are looking for.
PB wrote:In PureBasic 4.10, the 'CompilerInterface.txt' in the LibrarySDK folder might be what you
are looking for.
I think you're looking for the command "echo".Fluid Byte wrote:In PureBasic 4.10, the 'CompilerInterface.txt' in the LibrarySDK folder might be what you
are looking for.
To compile a file: pbcompiler file.pb
To see available options: pbcompiler /?
give the poor guy a break.. I've just tried to find a ref in the help file for this text file and there is none (or maybe the help search is not effective). It would be helpful to add a note at the end of the help file section "Commandline options for the IDE" something like 'For more information, please refer to 'CompilerInterface.txt' in the Library SDK folder, because certainly this txt file is not such an obvious find.freak, thefool, PB, Fluid Byte wrote: In PureBasic 4.10, the 'CompilerInterface.txt' ..
That file is not for interacting with the IDE from the command line. type pbcompiler /? to get information on that.mskuma wrote:give the poor guy a break.. I've just tried to find a ref in the help file for this text file and there is none (or maybe the help search is not effective). It would be helpful to add a note at the end of the help file section "Commandline options for the IDE" something like 'For more information, please refer to 'CompilerInterface.txt' in the Library SDK folder, because certainly this txt file is not such an obvious find.freak, thefool, PB, Fluid Byte wrote: In PureBasic 4.10, the 'CompilerInterface.txt' ..