Can I programming pascal in puppy linux?
I am a student
Thanks
Can Puppy program in Pascal?
- phantrongnghia
- Posts: 205
- Joined: Mon 24 Apr 2006, 14:11
- Location: Hanoi,Vietnam
- Contact:
Yes,
Search the forum for "Kylix".
Kilix is a borland development environment for developing in Object pascal and C++ (whatever you choose).
You can write plain Pascal using Kilix. (The Linux version of Delphi)
You may also want to try http://www.freepascal.org/download.html#Linux.
By the way, a student in this day and age should be studing with a language that provides the current state of the trade. (Event driven development, Object Oriented, Test driven, etc etc etc)
Don't get me wrong. I grew up with Pascal, I'm really fond of it. I found it to be a great language to learn, that's what it was designed for, it's just that now there are better languages to learn. I haven't used plain Pascal in about 18 years.
If you were learning to drive, you wouldn't go for a horse drawn buggy, would you?
I would recommend, Object Pascal (Delphi/Kilix), Python (It just feels natural), Ruby (Lots of buss around it).
I was going to include C# and Java, but I've found those languages better for when you already know how to program. Not specially well suited for learning.
If Pascal is a course requirement, then talk to your professor and tell him to update the course material.
Search the forum for "Kylix".
Kilix is a borland development environment for developing in Object pascal and C++ (whatever you choose).
You can write plain Pascal using Kilix. (The Linux version of Delphi)
You may also want to try http://www.freepascal.org/download.html#Linux.
By the way, a student in this day and age should be studing with a language that provides the current state of the trade. (Event driven development, Object Oriented, Test driven, etc etc etc)
Don't get me wrong. I grew up with Pascal, I'm really fond of it. I found it to be a great language to learn, that's what it was designed for, it's just that now there are better languages to learn. I haven't used plain Pascal in about 18 years.
If you were learning to drive, you wouldn't go for a horse drawn buggy, would you?
I would recommend, Object Pascal (Delphi/Kilix), Python (It just feels natural), Ruby (Lots of buss around it).
I was going to include C# and Java, but I've found those languages better for when you already know how to program. Not specially well suited for learning.
If Pascal is a course requirement, then talk to your professor and tell him to update the course material.
Last edited by rarsa on Fri 26 May 2006, 04:50, edited 1 time in total.
[url]http://rarsa.blogspot.com[/url] Covering my eclectic thoughts
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to
- phantrongnghia
- Posts: 205
- Joined: Mon 24 Apr 2006, 14:11
- Location: Hanoi,Vietnam
- Contact:
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
Steps for installing Kylix3 OE on Puppu 1.08r1...
"Don't shoot the messenger!"
Installing Kylix 3 Open Edition on Puppy 1.08r1
1. Install Puppy with usr_devx.sfs
2. Install compat-glibc from rpm.
3. Install Kylix 3 OE
In order to install Kylix 3 on Puppy, several changes have to be made to the installation files:
A. Change all occurances of 'whereis' to 'which' in the 'setup.sh' file under the kylix3_open directory.
*NOTE: You may be able to just make a link to the 'which' program and call it 'whereis'...I did not try this.
B. On line 73 of the file kylix3_open/setup.data/main.sh remove the word 'function'.
C. Create a link in /usr/lib called libstdc++-3.so that points to libstdc++.so.
4. Install the Kylix3 registration file to the user's home directory (usually /root).
5. Install the Kylix3 Update 2
6. Run Kylix3. The icons are not installed in the menu so you will have to create an icon on the desktop, or run Kylix from the command line. The startup scripts for Kylix3 are:
/usr/local/kylix3/bin/startkylix Starts a Delphi Kylix session
/usr/local/kylix3/bin/startdeph Starts a Delphi Kylix session
/usr/local/kylix3/bin/startbcb Starts a C++ Kylix session
Running Kylix3 will set some basic defaults so that the next install will not bomb.
7. Install k3fix.
In order to install the k3fix patches, several changes have to be made to the installation files:
1. Change all occurances of 'whereis' to 'which' in all files. Should be able to find these with a simple 'grep' command.
2. Change '#!/bin/sh' to '#!/bin/bash' in all files.
3. Change all occurances of 'less' to 'more'. You may be able to create a link called 'less' that points to 'more'. I did not try this, but it should work and would be easier in the long run.
4. Change all occurances of 'ln --symbolic' to 'ln -s'. Only place I found this was in 30-vclpatches/k3patches/functions.sh.
8. Reboot and you should be able to run Kylix. I did have some issues with errors found in some standard headers, but these were resolved by changing the search order in the Project->Options->Directories/Conditionals page.
"Don't shoot the messenger!"
Installing Kylix 3 Open Edition on Puppy 1.08r1
1. Install Puppy with usr_devx.sfs
2. Install compat-glibc from rpm.
3. Install Kylix 3 OE
In order to install Kylix 3 on Puppy, several changes have to be made to the installation files:
A. Change all occurances of 'whereis' to 'which' in the 'setup.sh' file under the kylix3_open directory.
*NOTE: You may be able to just make a link to the 'which' program and call it 'whereis'...I did not try this.
B. On line 73 of the file kylix3_open/setup.data/main.sh remove the word 'function'.
C. Create a link in /usr/lib called libstdc++-3.so that points to libstdc++.so.
4. Install the Kylix3 registration file to the user's home directory (usually /root).
5. Install the Kylix3 Update 2
6. Run Kylix3. The icons are not installed in the menu so you will have to create an icon on the desktop, or run Kylix from the command line. The startup scripts for Kylix3 are:
/usr/local/kylix3/bin/startkylix Starts a Delphi Kylix session
/usr/local/kylix3/bin/startdeph Starts a Delphi Kylix session
/usr/local/kylix3/bin/startbcb Starts a C++ Kylix session
Running Kylix3 will set some basic defaults so that the next install will not bomb.
7. Install k3fix.
In order to install the k3fix patches, several changes have to be made to the installation files:
1. Change all occurances of 'whereis' to 'which' in all files. Should be able to find these with a simple 'grep' command.
2. Change '#!/bin/sh' to '#!/bin/bash' in all files.
3. Change all occurances of 'less' to 'more'. You may be able to create a link called 'less' that points to 'more'. I did not try this, but it should work and would be easier in the long run.
4. Change all occurances of 'ln --symbolic' to 'ln -s'. Only place I found this was in 30-vclpatches/k3patches/functions.sh.
8. Reboot and you should be able to run Kylix. I did have some issues with errors found in some standard headers, but these were resolved by changing the search order in the Project->Options->Directories/Conditionals page.