How to compile a PB file under Linux ch mode? {OK}

Linux specific forum
SkyManager
Enthusiast
Enthusiast
Posts: 339
Joined: Tue Jan 30, 2007 5:47 am
Location: Hong Kong

How to compile a PB file under Linux ch mode? {OK}

Post by SkyManager »

I am new to purebasic.
I want to compile a purebasic pb file under Linux character mode.
I do not have GUI Linux.

Is this possible?
Can I only install GCC?
Do I still need to install GTK and SDL?

Sky Manager :(
Last edited by SkyManager on Fri Mar 30, 2007 11:38 am, edited 1 time in total.
Nik
Addict
Addict
Posts: 1017
Joined: Fri May 13, 2005 11:45 pm
Location: Germany
Contact:

Post by Nik »

It's probably possible, you will need to Install the developer tools like gcc and then you can use the commandline pbcompiler, when calling it without arguments it will tell you the syntax
SkyManager
Enthusiast
Enthusiast
Posts: 339
Joined: Tue Jan 30, 2007 5:47 am
Location: Hong Kong

OK, thanks. I'll try.

Post by SkyManager »

OK, thanks. I'll try.
:D
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

I don't think you need GCC, but you need binutils and libc6-dev. You don't need Gtk and SDL if you aren't using those commands.
SkyManager
Enthusiast
Enthusiast
Posts: 339
Joined: Tue Jan 30, 2007 5:47 am
Location: Hong Kong

It is working

Post by SkyManager »

Thanks all folks.
My PB is running now in Red Hat 9

Sky Manager
:P
Nik
Addict
Addict
Posts: 1017
Joined: Fri May 13, 2005 11:45 pm
Location: Germany
Contact:

Post by Nik »

You are using a Server? or why don't you have X?
SkyManager
Enthusiast
Enthusiast
Posts: 339
Joined: Tue Jan 30, 2007 5:47 am
Location: Hong Kong

Post by SkyManager »

It is a server, only text mode. not require any gui
Nik
Addict
Addict
Posts: 1017
Joined: Fri May 13, 2005 11:45 pm
Location: Germany
Contact:

Post by Nik »

Nice, to see some other Admins here, I also help to manage a root server I and a few friends from school have rent. It's a pretty cool thing^^
Post Reply