Skip to player
Skip to main content
Search
Connect
Watch fullscreen
Like
Bookmark
Share
More
Add to Playlist
Report
PL/I aka pl/1 compiler setup on linux
IT techni
Follow
1 week ago
Category
🤖
Tech
Transcript
Display full video transcript
00:00
hello everybody I wanted to set up PL1 or PLI compiler PLI is a programming language that's
00:10
worth trying and learning you can google more on it to know about its uses and stuff there is this
00:22
free compiler from iron spring for Linux and OS 2 you see the purple links the links have turned
00:31
purple since I was trying each and every one of them we will simply go with 1.4 so we download
00:40
it like this it should be in the downloads folder before I tell you the steps which I told about
00:52
one of them I wanted to tell you that this video is highly inspired by another video that you would
00:58
see on the screen anytime soon we are in the home directory of my user which is user as you see
01:09
we switch directory to downloads we will find that PLI or PL1 is downloaded there to decompress it we
01:21
should run this command always press and tab for the auto completion and then we should have a tar
01:32
file now like this so we can run the command tar to decompress it if we can say or take out the files
01:47
PLI tab for auto completion enter we can switch directory into PLI okay clear out the screen
02:04
we are ready to install the command is sudo make install password enter all right clear out the screen
02:15
there is a file that we will depend on every time we would like to compile the file the code that we write
02:24
which we can find under samples and the file should be make file dot Linux like that now we should maybe make a
02:41
directory where we will place our projects we can call the directory projects probably
02:50
like this change directory into projects or before that we copy the make file that we talked about few seconds ago
03:04
so we can go into projects like this we can change directory into projects
03:13
and we can make our first project which is a PLI app we can call it whatever we want we can call it app dot pli
03:26
which is optional I mean the extension enter and we can change it to become a valid code
03:42
I look at for hello world app and it should look like this now I'm gonna copy it here
03:51
here this is the name of the application since I called it app it's fine to change the name to app
04:00
I guess it's fine to keep it the way it is whichever it is app like this save and exit
04:09
let's go to make file dot Linux scroll down delete this if I'm not mistaken
04:22
this we call it here app save and exit we change the name from make file dot Linux to make file only
04:35
without that dot Linux at the end and then we run make
04:48
ls
04:51
okay it failed here uh it only worked for me with
05:17
1.3.1 and 1.3.0 so let's try with one of them
05:31
we run the same commands with them I don't know if it's the issue from the version or
05:40
from me myself like I made a mistake and then like this pli 3 tar xvf pli 3 and then cd pli 3
06:08
and then sudo make install
06:18
okay cd like this and then cd pli to the other one which is for cd projects
06:29
and then cd projects and then cd projects and then cd projects and then we try again to make this thing
06:35
or let's just move the app file to like this downloads pli 1.3.1
06:49
now loads pli this mk directory mkdir 3.1.2.3.2.4.4.4.4.4.4.4.4.4.4.4.4.4.5.5.4.5.4.5.5.5.4.5.4.1
07:07
call it projects also and then mv app.cli into projects cp samples makefile.linux into projects
07:28
cd projects and then we change that files content this one
07:46
here we put the name of the file that has the source code in it without the extension save and
08:01
exit and change the name from makefile.linux to makefile only without .linux at the end and try
08:10
with make maybe try with yeah there it's somehow my issue my mistake here all up yes
08:29
ls so probably it's my mistake with the other version up if we run up like this we got our code
08:46
executed correctly let's change the source code into something else this message
08:58
would be subscribe if you don't mind of course like share comment does this make a new line thanks
09:16
for watching save and exit let's try again like this and then like this this doesn't make a new line
09:32
there should be a different character for it anyway that's it how you set up the compiler please don't
09:40
please remember the how to make the make file it should be here all like this equals the file of your
09:51
source code without the extension and then this all also should have it there try with 1.4 and if it
10:02
didn't work try with 1.3.1 in case it is really the issue from the version that's it from me i'm so i'm signing out and peace
Be the first to comment
Add your comment
Recommended
11:00
|
Up next
xdeb-install: install any deb package on your void linux from anywhere
IT techni
5 days ago
8:11
Gophernicus gopher server setup and compilation on macos (didn't go well)
IT techni
2 days ago
3:11
retrieve netstat arp ifconfig etc commands on linux
IT techni
1 week ago
6:23
Removing older kernels using vkpurge and generating initramfs for new ones (void linux)
IT techni
2 weeks ago
0:46
Fixing curl symbol lookup error undefined symbol /.../libcurl.so ngtcp2.... on void linux
IT techni
2 weeks ago
5:01
fixing error could not execute exec WPrefs
IT techni
4 weeks ago
5:12
windowmaker setup on archlinux
IT techni
4 weeks ago
7:34
VLC setup on slackware
IT techni
4 weeks ago
8:35
Fixing stuck at "loading linux....."
IT techni
4 weeks ago
10:31
Lua setup on macOS (compiling it from source)
IT techni
5 weeks ago
6:33
Skip package update/install during gentoo update (includes package masking)
IT techni
6 weeks ago
6:44
zram on debian, ubuntu and mint
IT techni
7 weeks ago
5:25
SSH server setup on debian
IT techni
7 weeks ago
4:48
macos update (15.6.1 to 15.7.1)
IT techni
2 months ago
11:03
Skip packages update on arch linux (needed when downgrading)
IT techni
2 months ago
5:13
mpv setup on macos
IT techni
2 months ago
5:47
Minecraft setup on Arch Linux using legacy launcher + flatpak method (distro agnostic)
IT techni
2 months ago
6:57
Installing minecraft java on macOS using legacy launcher
IT techni
2 months ago
2:56
My first apple device (mac) ever
IT techni
2 months ago
6:44
Error symbol grub_is_using_legacy_shim_lock_protocol not found resolution
IT techni
3 months ago
6:31
Connecting to wifi on Alpine Linux using IWD
IT techni
3 months ago
8:15
chroot on alpine linux
IT techni
3 months ago
38:53
Ventoy's persistence plugin (live media with persistence)
IT techni
3 months ago
5:21
Commands to run whenever grub is updated on Arch Linux
IT techni
3 months ago
2:42
Error failed to commit transaction...exists in filesystem resolution Arch Linux
IT techni
3 months ago
Be the first to comment