You are not logged in.

#1 2005-01-19 13:42:20

UNIX4ALL
Member
From: Canary Islands, Spain.
Registered: 2004-02-02
Posts: 25
Website

[request] Free Pascal Compiler FPC

Hi all:

Here is a request for FreePascal Compiler.

I recommend Arch Linux to my mates and friends here at Computer Sci institute at La Laguna´s University.

Arch Linux is plenty of all the tools we need but with the exception of the FPC.

Thanks for you support smile.


Arch Linux Powered

Offline

#2 2005-01-20 12:18:38

Benedict_White
Member
From: Sussex, UK
Registered: 2004-05-27
Posts: 331
Website

Re: [request] Free Pascal Compiler FPC

I have had a look at the source package, and to be honest, I don't think they could have made it less Arch friendly (in terms of making packages) if they tried.

That said they do have precompiled versions which may be to your liking.

Unfortunatley the GNU Pascal project seems way behind in terms of version of GCC it works with. GNU Modual2 on the other hand may get folded into current GCC sooner, which will mean that Arch will support it as standard. You might like to ask the GNU Modula2 boys when they will be folding in.

(See: http://floppsie.comp.glam.ac.uk/Glamorg … ula2.html)


Perhaps someone else could look at free pascal?


Kind regards

Benedict White

Offline

#3 2005-01-20 21:13:27

DXManiac
Member
From: Hamburg, Germany
Registered: 2004-12-09
Posts: 46
Website

Re: [request] Free Pascal Compiler FPC

UNIX4ALL wrote:

Hi all:

Here is a request for FreePascal Compiler.


I just gave it a try and it looks good.. I'm just testing the package by compiling fpc with the fpc included in my package smile

In order to make it easier for me, I used the snapshot version of 1.0.10(which is version 1.0.10 including fixes since its release).

Here is the PKGBUILD and
over here is the package.

Maybe you can give it a try, so that I might announce the package in another thread smile

Cheers,
DXManiac

Offline

#4 2005-01-21 11:26:08

Benedict_White
Member
From: Sussex, UK
Registered: 2004-05-27
Posts: 331
Website

Re: [request] Free Pascal Compiler FPC

Thats cool!

Have you got it to compile?

I get:
hello.pp(3,1) Fatal: Can't find unit SYSLINUX

for a simple hello world program.

Umm...


Kind regards

Benedict White

Offline

#5 2005-01-21 11:40:52

DXManiac
Member
From: Hamburg, Germany
Registered: 2004-12-09
Posts: 46
Website

Re: [request] Free Pascal Compiler FPC

Benedict_White wrote:

Thats cool!

Have you got it to compile?

I get:
hello.pp(3,1) Fatal: Can't find unit SYSLINUX

for a simple hello world program.

Umm...

I'm not sure, that's why I asked you guys to give it a try smile

My pascal days were a loooooong time ago and I wouldn't even get to write Hello World without any problems..

My only testing of this package consisted of using my package to compile itself and it worked smile   So I build fpc with my PKGBUILD of fpc...

Offline

#6 2005-01-21 12:51:56

DXManiac
Member
From: Hamburg, Germany
Registered: 2004-12-09
Posts: 46
Website

Re: [request] Free Pascal Compiler FPC

Ok, I found my mistake..
When compiling fpc itself, it doesn't use the system units..
Just like any lowlevel C stuff wouldn't touch the system includes and
libraries but comes with its own things..

That's why I could build the compiler, but you weren't able to build anything else..   fpc needs a config file "/etc/fpc.cfg" to tell it, where it should look for the units.    The updated package includes that file and at least building hello world works fine now(I found a page with dozens of examples of "Hello world" in different languages smile).


Here is the updated PKGBUILD and
over here is the new package.

Have fun,
DXManiac

Offline

#7 2005-01-21 14:02:36

Benedict_White
Member
From: Sussex, UK
Registered: 2004-05-27
Posts: 331
Website

Re: [request] Free Pascal Compiler FPC

Yup, the new packahe build works fine.

Hello World.

Hopefully GNU Modula2 will be included in GCC soon as well.


Kind regards

Benedict White

Offline

#8 2005-01-21 20:29:27

UNIX4ALL
Member
From: Canary Islands, Spain.
Registered: 2004-02-02
Posts: 25
Website

Re: [request] Free Pascal Compiler FPC

Thanks a lot DXManiac !!!, now Arch Linux is spreading in my University big_smile.


Arch Linux Powered

Offline

#9 2005-01-21 21:03:33

DXManiac
Member
From: Hamburg, Germany
Registered: 2004-12-09
Posts: 46
Website

Re: [request] Free Pascal Compiler FPC

UNIX4ALL wrote:

Thanks a lot DXManiac !!!, now Arch Linux is spreading in my University big_smile.

You're welcome smile

I like challenges and people like distributions with uncommon packages, I guess smile

People are lazy..    At least I am when it comes to building software on my own smile

Offline

Board footer

Powered by FluxBB