LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-23-2020, 09:14 AM   #1
Linpassion
Member
 
Registered: Feb 2020
Posts: 49

Rep: Reputation: Disabled
IDE to develop


Hello I'm looking for a IDE to develop on BASH, HTML, C/C++, XML, PHP+MYSQL, PROLOG. Now I using Emacs, but PHP is not set by color and indent like HTML, BASH ecc... Can you suggest me alternative not heavy? If Emacs it's a good choose there are othe plug-in? About C++ how compile it to test programs on Win?

Thanks
 
Old 06-23-2020, 09:28 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 14,823

Rep: Reputation: 4874Reputation: 4874Reputation: 4874Reputation: 4874Reputation: 4874Reputation: 4874Reputation: 4874Reputation: 4874Reputation: 4874Reputation: 4874Reputation: 4874
did you try pycharm (for example?)
 
Old 06-23-2020, 11:17 AM   #3
chemfire
Member
 
Registered: Sep 2012
Posts: 265

Rep: Reputation: Disabled
You might consider good old "joe" as an editor. It has good syntax highlighting, if that is what you are after for most of those languages. Its still what I do most work in for things like Bash scripts and if I have to touch PHP. for C++ Code::Blocks is pretty nice. I have not tried it but there are slackbuilds for VSCode...
 
Old 06-23-2020, 11:31 AM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 9,431

Rep: Reputation: Disabled
geany
 
Old 06-23-2020, 11:38 AM   #5
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 1,777

Rep: Reputation: 1359Reputation: 1359Reputation: 1359Reputation: 1359Reputation: 1359Reputation: 1359Reputation: 1359Reputation: 1359Reputation: 1359Reputation: 1359
I tried a few, settled on screen or tmux + vim + gdb. Not an actual IDE, but better if you ask me.
 
Old 06-23-2020, 01:01 PM   #6
average_user
Member
 
Registered: Dec 2010
Location: Warsaw, Poland
Distribution: Slackware
Posts: 512

Rep: Reputation: 202Reputation: 202Reputation: 202
Quote:
Originally Posted by Linpassion View Post
Now I using Emacs, but PHP is not set by color and indent like HTML, BASH ecc... Can you suggest me alternative not heavy? If Emacs it's a good choose there are othe plug-in?
Emacs is great for programming. Install php-mode. I attach a screenshot of open /usr/lib64/php/System.php file. I use zenburn color theme.
Attached Thumbnails
Click image for larger version

Name:	emacs-php.png
Views:	59
Size:	185.8 KB
ID:	33495  
 
Old 06-23-2020, 01:47 PM   #7
drgibbon
Member
 
Registered: Nov 2014
Distribution: Slackware64 -current
Posts: 712

Rep: Reputation: 457Reputation: 457Reputation: 457Reputation: 457Reputation: 457
Arrow

Quote:
Originally Posted by Linpassion View Post
Hello I'm looking for a IDE to develop on BASH, HTML, C/C++, XML, PHP+MYSQL, PROLOG. Now I using Emacs, but PHP is not set by color and indent like HTML, BASH ecc... Can you suggest me alternative not heavy? If Emacs it's a good choose there are othe plug-in? About C++ how compile it to test programs on Win?
Emacs is very good with major modes for various programming languages, I use it for LaTeX (AUCTeX), R (ESS / polymode), Python (elpy), and shell scripting. It can take a while to get it set up nicely though, and you'll want to use MELPA. Some useful info and resources here, and there's also no need to use the terminal, X11 Emacs is usually better.
 
Old 06-23-2020, 02:18 PM   #8
EdGr
Member
 
Registered: Dec 2010
Location: California, USA
Distribution: I run my own OS
Posts: 419

Rep: Reputation: 205Reputation: 205Reputation: 205
Quote:
Originally Posted by Linpassion View Post
About C++ how compile it to test programs on Win?
The easiest way to compile programs for Windows is to use Microsoft's tools. Microsoft offers a free-as-in-beer edition of Visual Studio.
Ed
 
Old 06-23-2020, 02:23 PM   #9
average_user
Member
 
Registered: Dec 2010
Location: Warsaw, Poland
Distribution: Slackware
Posts: 512

Rep: Reputation: 202Reputation: 202Reputation: 202
Quote:
Originally Posted by EdGr View Post
The easiest way to compile programs for Windows is to use Microsoft's tools. Microsoft offers a free-as-in-beer edition of Visual Studio.
Ed
But does it run on Linux and generates Windows binaries? If so, how are external libraries handled? Luckily I don't have to use Windows, just asking.

Last edited by average_user; 06-23-2020 at 02:25 PM.
 
Old 06-23-2020, 02:33 PM   #10
EdGr
Member
 
Registered: Dec 2010
Location: California, USA
Distribution: I run my own OS
Posts: 419

Rep: Reputation: 205Reputation: 205Reputation: 205
Quote:
Originally Posted by average_user View Post
But does it run on Linux and generates Windows binaries? If so, how are external libraries handled? Luckily I don't have to use Windows, just asking.
Visual Studio runs on Windows and generates Windows binaries. A lot of libraries are written to compile and run on both Linux and Windows using each OS'es native tools.

I have not tried the free-as-in-beer edition of Visual Studio, but I believe it is usable (i.e. not badly crippled).
Ed
 
Old 06-23-2020, 03:07 PM   #11
animeresistance
Member
 
Registered: Feb 2004
Distribution: Slackware
Posts: 216

Rep: Reputation: 32
Hi.

I'm semi old school, I use vim, nano, sometimes jedit, kwrite and spyder, but I think that maybe eclipse, pycharm can help you, if you don't mind using M$ tools, you can use vscode, an acquaintance uses it, he says it is easy to use.

Hope it helps you.

Cheers.
 
Old 06-23-2020, 03:32 PM   #12
giomat
Member
 
Registered: Jul 2017
Posts: 87

Rep: Reputation: Disabled
Quote:
Originally Posted by average_user View Post
But does it run on Linux and generates Windows binaries? If so, how are external libraries handled? Luckily I don't have to use Windows, just asking.
At work and at home i cross compile binaries for windows using mingw in a fedora lxc container. fedora comes with a nice mingw package and lots of libraries ready to link with, only archlinux has more packages compiled for mingw, but i find it a bit too bleeding edge for my tastes.

Speaking about it, would be nice to have something for slackware too, like a collection of mingw packages and libs in form of slackbuilds to turn slackware into a cross-compiling distro, maybe like the multilib repo, that you add to slackpkg, install and it's ready to go. I know there's stuff like mxe around that kinda do this, but i didn't like it much last time i tried it

Last edited by giomat; 06-23-2020 at 03:37 PM.
 
Old 06-23-2020, 06:01 PM   #13
Mill J
Senior Member
 
Registered: Feb 2017
Location: 127.0.0.1 Sweet 127.0.0.1
Distribution: Void, MX, Haiku, Icaros, Puppy and many others
Posts: 1,123
Blog Entries: 2

Rep: Reputation: 473Reputation: 473Reputation: 473Reputation: 473Reputation: 473
I second Geany. It's light, fast and has very good highlighting for a lot of languages.
 
Old 06-23-2020, 06:12 PM   #14
wainamoinen
LQ Newbie
 
Registered: Sep 2009
Posts: 14

Rep: Reputation: Disabled
For a C/C++ IDE, Codelite is quite lightweight. It works on Linux and Windows (using MinGW/CLang).

https://codelite.org/

https://slackbuilds.org/repository/1...ment/codelite/
 
Old 06-23-2020, 10:58 PM   #15
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 9,672

Rep: Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316
For cross compiling to Windows, I've heard of people using this:

https://mxe.cc/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Code::Block IDE to develop C/C++ project, error: Permission Denied yipengt Linux - Newbie 4 12-09-2014 09:38 AM
how2 make the kernel scan both PCI IDE and Mboard IDE channels? carboncopy Slackware 1 07-23-2003 03:26 PM
use ide-scsi to emulate an ide disk as a scsi disk free_ok_man Linux - Software 1 07-01-2003 05:08 PM
use ide-scsi to emulate an ide disk as a scsi disk free_ok_man Linux - Newbie 1 07-01-2003 03:51 AM
ide CDRW problems under ide-scsi jwbrownuk Linux - Hardware 3 04-30-2003 12:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration