Page 1 of 1

Posted: Fri Sep 27, 2002 3:53 pm
by BackupUser
Restored from previous forum. Originally posted by Hi-Toro.

Any chance of someone knowledgeable posting a guide to using Linux PB? I tried last night after eventually figuring out how to get Nasm installed via the rpm command, but had no luck. I had to be in 'root' user mode to be able to compile as far as I could tell...? Also, I'm assuming that the purebasic.exe file is the executable created each time you compile? Well, I managed to run it the first time (./purebasic.exe), but next time I tried to compile something, it said purebasic.exe couldn't be found. Sure enough, it was gone, and I couldn't do any more compiling!

I'll hopefully get to look into it more later, but if anyone has the time to explain it properly, it'd be appreciated!


--
See ya,
James L Boyd.
http://www.hi-toro.com/
--

Posted: Fri Sep 27, 2002 9:30 pm
by BackupUser
Restored from previous forum. Originally posted by fred.

nasm is often already installed in any ditribution, or is at last on the CD. Which Linux do you use ? Where do you failed. Did the examples compile ?

Fred - AlphaSND

Posted: Sat Sep 28, 2002 1:23 am
by BackupUser
Restored from previous forum. Originally posted by Alltimefriend.

The file purebasic.exe has nothing to do with the Linux-Environment.

The Linux-Compiler is called "PBCompiler".

So, when you have hello.pb and want an executable called hello, you should type in this:

./PBCompiler hello.pb -e hello

Of course, hello.pb should be in that directory.

Greetings, ATF

Posted: Sat Sep 28, 2002 3:17 am
by BackupUser
Restored from previous forum. Originally posted by Hi-Toro.
./PBCompiler hello.pb -e hello
OK, thanks, I'll try this -- I was trying to run the stuff via "pbcompiler example.pb" and getting nothing -- is it documented anywhere? And what exactly *is* purebasic.exe in the Source folder?

Fred, I'm using Mandrake. Although Nasm is on the CD, the RPM package manager GUI couldn't install it for some reason (said it was already installed, yet PB said it wasn't installed until I did it manually) -- that part's OK now though :)


--
See ya,
James L Boyd.
http://www.hi-toro.com/
--