Qbasicnews.com
Compiling large Programs - Printable Version

+- Qbasicnews.com (http://qbasicnews.com/newforum)
+-- Forum: QBasic (http://qbasicnews.com/newforum/forum-4.html)
+--- Forum: QB Discussion & Programming Help (http://qbasicnews.com/newforum/forum-11.html)
+--- Thread: Compiling large Programs (/thread-190.html)



Compiling large Programs - HELLinG3R - 02-10-2003

Hi!
:barf: Argh!
i have recently programmed a Monopoly-game.
the problem: it's too large to compile!
does anybody know how to tackle the problem?


Compile from the command line or write a batch file. - 1000101 - 02-10-2003

The IDE uses up about 200K of memory when running, thus limiting your ability to do anything useful. The only time I use the IDE is when I am doing something small (<100 lines of code). Larger programs I just use a batch file to compile it and a Windows editor such as Ultra-Edit or Visual Slick Edit.

If you do a BC /? and LINK /?, you will be given all the options that are available (I think for the link it has to be version 4+ to work).

Anyway, I tend to use the compiler from VBDOS and the linker from MS C 6.00.

My linker version is 5.31.009, it shouldn't be too hard to find on the weeeb.


uhm... ok, but how does this work exactly??? - HELLinG3R - 02-11-2003

:oops: ok, thank you!
but How does this all work?
i haven't done something like this before...

and were can i get the actual programs i need???
(BC? Link??? :???: i only compiled my programs within the IDE!)

Syntax for a batchfile? (i know what a batchfile is, i mean the syntax of BC/Link)

i don't know anything about commandline compiling!
please help me a second time!

(i will write your name into the credits;-)


Compiling large Programs - R@dioman - 02-11-2003

Here's a link to a really thorough tutorial about the compiler/linker:
http://qbcm.hybd.net/issues/9/#btau
If you say you can compile from the IDE then that means all the files you need are found in your QB directory. Here are the files you'll need:
BC.EXE
LINK.EXE
BCOM45.LIB


Compiling large Programs - na_th_an - 02-11-2003

Read this tut: http://www.geocities.com/na_th_an_wopr2k/limits.txt


Testcompile - HELLinG3R - 02-11-2003

Sad
It's me again...
and i read the articles carefully, but it won't work at all!
I don't know where the error is.
So, does anybody want to do a test-compile for me?
I would be very glad!

i have Win2k and use Qbasic 7.1.
(but i also tried with QB4.5!)

the source code is on my Website:
www.b.hallinger.de.nr
(but please use:
http://mitglied.lycos.de/der_beni/
due to problems with the server!)
then goto Downloads. the first file is the code.
Thanks.... you are my last hope!
(and don't forget to mention HOW (with wich options)
you compiled it, and with wich basic Version!
thanks. Please also mention wich Windows you have.
and mail the EXE to me, please!)
Thanks for helping me!


You've got mail. - Glenn - 02-12-2003

AOL, blow me.