Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
i want to make exe files from bas files created with qbasic 1.1
i have downloaded a compiler but don't know how to use it
when i run it 3 files are rquested
1. the bas file 2.object file 3. list file
what are 2 & 3 please help. i am new to programming.

Creating an Exe file from source code is a two stage process.
The first stage takes the source code, the BAS file and generates object code, the object file and also generates a list of all the object files it has created. Source code can create more than one object file.
The second stage then links all the object files into an EXE.
It seems you are trying to do the second stage with first doing the first stage.
Some compilers have these two stages, compiling and linking, incorporated into the same application. The actions are controlled by command line arguments which determine what is to be done, compile, link or both and probably options to say where the various files can be found. Some compilers have separate applications for compiling and linking.
Read the instruction carefully keeping in mind the difference between compiling and linking.
Stuart

http://www.svatopluk.com/qbtutor/index.htm
By the way QB 4.5 has a compiler built in.
If at first you don't succeed, you're about average.M2

Another possible solution. Download FreeBASIC. It has Windows, DOS, & Linux versions. Very compatible to MS Basics. Single step compile to EXE. I use it because it does long file names.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |