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/
--
Using Linux PB...
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
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
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
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Hi-Toro.
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/
--
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?./PBCompiler hello.pb -e hello
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/
--