Author Topic: Linux editor  (Read 10555 times)

MrTAToad

  • Guest
Re: Linux editor
« Reply #15 on: 2010-Sep-25 »
Unfortunately there are none that were actually in BASIC  :blink:

Offline Kuron

  • Mr. Polyvector
  • ***
  • Posts: 238
    • View Profile
Re: Linux editor
« Reply #16 on: 2010-Sep-26 »
Would you be able to get a (basic) Linux version of GPC going ?

Who are you asking?

MrTAToad

  • Guest
Re: Linux editor
« Reply #17 on: 2010-Sep-26 »
Gernot

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10697
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Linux editor
« Reply #18 on: 2010-Sep-27 »
I'm here!!!
Yes, I'll make you a GPC for Linux. No big deal.

MrTAToad

  • Guest
Re: Linux editor
« Reply #19 on: 2010-Sep-27 »
Ah good - I want to see if I can at least get a script going to compile on Linux, for Linux :)

Offline phaelax

  • Mc. Print
  • *
  • Posts: 36
    • View Profile
Re: Linux editor
« Reply #20 on: 2010-Oct-19 »
I too would like to see something running on Linux.  I'd still consider myself inexperience with it, but I'm learning it quickly.

I have an IDE I wrote in Java, changing the keyword file for GLB would be simple. The only tricky part is linking it to the proper compiler. As for handling GLB project files, shouldn't be difficult.

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10697
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Linux editor
« Reply #21 on: 2010-Oct-20 »
read the gbap file with a text editor. It's pretty easy.
The gpc is explained in the manual. I'll help you if you need some info.
The "platform.ini" is a file that tells me how to link/compile the generated cpp files then. You can copy/paste the gcc line for linux and just adjust the paths. I'd do that hardcoded for a linux ide.

Offline bigsofty

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 2613
    • View Profile
Re: Linux editor
« Reply #22 on: 2010-Oct-20 »
In the way of an early request, if possible, could this be made to run on other platforms from the initial design perspective? I think a cross-platform DDGUI based editor would be a great long-term asset for the GLB community as a whole.

Cheers,


Ian
Cheers,

Ian.

“It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration.”
(E. W. Dijkstra)

MrTAToad

  • Guest
Re: Linux editor
« Reply #23 on: 2010-Oct-20 »
Would be handy especially on a Windows CE machine - even if you cant compile anything...

Offline trucidare

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1377
  • Bachelor of Fail
    • View Profile
Re: Linux editor
« Reply #24 on: 2010-Oct-21 »
to compile for linux just call gcc -flags -defines -output -sourcefiles
much simpler than under windows because pre installed toolchain.

for cross tools gcc --target=wince or something else (require cross gcc for these platform))
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC

MrTAToad

  • Guest
Re: Linux editor
« Reply #25 on: 2010-Oct-21 »
... I think a cross-platform DDGUI based editor would be a great long-term asset for the GLB community as a whole...

DDGUI based software looks and feels too 'different' to get wide acceptance.   If DDGUI would offer a more native look and feel on each of the supported platforms, I'm with you...

Ocean
Plus, of course, DDgui would be too limiting...

Offline bigsofty

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 2613
    • View Profile
Re: Linux editor
« Reply #26 on: 2010-Oct-21 »
I think it would e worth the effort, think of it, GLBasic on almost any platform. If Gernot says its easy to produce  the GPC then he may support more?

If not, then a nod towards cross-platform compatibility would be appreciated (modularise the Linux API calls for example) if open-source if the target.

Cheers,


Ian
Cheers,

Ian.

“It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration.”
(E. W. Dijkstra)

MrTAToad

  • Guest
Re: Linux editor
« Reply #27 on: 2010-Oct-21 »
Gernot has suggested a web-based editor, which would then call a small DOS routine.

I think a Java one would be the best, if its fast enough.

Offline ketil

  • Mr. Polyvector
  • ***
  • Posts: 117
    • View Profile
Re: Linux editor
« Reply #28 on: 2010-Oct-22 »
In my opinion, web based editors are only great in theory.
"Sugar makes the world go 'round. Caffeine makes it spin faster."

Offline Schranz0r

  • Premium User :)
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 5014
  • O Rly?
    • View Profile
Re: Linux editor
« Reply #29 on: 2010-Oct-22 »
I think a Java one would be the best, if its fast enough.

its fast enough!
I <3 DGArray's :D

PC:
AMD RYzen 7 1700 @3.9Ghz, 16GB HyperX Fury 2666Mhz Ram, ASUS ROG GTX 1060 STRIX 6GB, Windows 10 Pro 64Bit, MSi Tomahawk B350 Mainboard