Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2001-02

compiling FPC from cvs

6 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Willi Krenn

Hello!

First let me say, that I hope I hit the right list with this email! (I'm sure you'll tell me if I don't :) )

Ok, since Kylix(tm) is way out of my finacial reach and I don't plan to license all my programs under GPL I thought I should try FreePascal to get my work done under Linux.
As I desperately need interfaces (variants are not that important) for the port of a project (www.dwscript.com) I looked in the lazarus mail archive (the others are not working) and found out that fpc 1.1 supports interfaces! (The compiler changelogs are indicating the same.) As I had some time left I did a fpc checkout, downloaded the fpc 1.5 rpm and wanted to compile the new fpc version. Here lies my problem:

Free Pascal Compiler version 1.0.5 [2001/01/15] for i386 Copyright (c) 1993-2000 by Florian Klaempfl
Target OS: Linux for i386
Compiling pp.pas
Compiling catch.pas
catch.pas(42,10) Fatal: Can't compile unit LINUX, no sources available make: *** [ppc386] Error 1

Now what 's the error? What did I wrong?

regards,
Willi

Reply by email

Jonas Maebe
to Willi Krenn
Willi Krenn wrote
First let me say, that I hope I hit the right list with this email! (I'm sure you'll tell me if I don't :) )

You've got the right one :)

Show quoted text 11 lines
Ok, since Kylix(tm) is way out of my finacial reach and I don't plan to license all my programs under GPL I thought I should try FreePascal to get my work done under Linux. As I desperately need interfaces (variants are not that important) for the port of a project (www.dwscript.com) I looked in the lazarus mail archive (the others are not working) and found out that fpc 1.1 supports interfaces! (The compiler changelogs are indicating the same.) As I had some time left I did a fpc checkout, downloaded the fpc 1.5 rpm and wanted to compile the new fpc version. Here lies my problem: Free Pascal Compiler version 1.0.5 [2001/01/15] for i386

Note that version 1.0.5 does *not* support interfaces, only version 1.1 and higher does. We currently have two development branches: 1.0.5, in which only bugfixes are applied, and 1.1, in which also new features are added.

Show quoted text 9 lines
Copyright (c) 1993-2000 by Florian Klaempfl Target OS: Linux for i386 Compiling pp.pas Compiling catch.pas catch.pas(42,10) Fatal: Can't compile unit LINUX, no sources available make: *** [ppc386] Error 1 > Now what 's the error? What did I wrong?

It seems the compiler is using a wrong RTL. Use -vt to see where the RTL is searched. You always have to use a compiler and an RTL compiled with this compiler (well, not always, but it's the safest that way). You can also download a binary snapshot of the 1.1 compiler from ftp.freepascal.org/fpc/snapshot normally.

Joans

Reply by email

Willi Krenn
to Jonas Maebe

Am Son, 11 Feb 2001 schrieben Sie:

Show quoted text 6 lines
On Sun, 11 Feb 2001, Willi Krenn wrote: > First let me say, that I hope I hit the right list with this email! (I'm sure > you'll tell me if I don't :) ) You've got the right one :)

Very good! ;)

Note that version 1.0.5 does *not* support interfaces, only version 1.1 and higher does.

I know - that's why I checked out fpc from cvs.

It seems the compiler is using a wrong RTL. Use -vt to see where the RTL is searched.

Well, I compiled Lazarus without problems.. Then I wanted to compile my previously checked out fpc-sources with FPC 1.0.5; That is what failed.

You always have to use a compiler and an RTL compiled with this compiler (well, not always, but it's the safest that way). You can also download a binary snapshot of the 1.1 compiler from ftp.freepascal.org/fpc/snapshot normally.

If I don't get thinks working, I'll look at the snapshots..

Willi

Reply by email

Peter Vreman
to Willi Krenn
Show quoted text 17 lines
> > First let me say, that I hope I hit the right list with this email! (I'm sure > > you'll tell me if I don't :) ) > > You've got the right one :) Very good! ;) > Note that version 1.0.5 does *not* support interfaces, only version 1.1 > and higher does. I know - that's why I checked out fpc from cvs. > It seems the compiler is using a wrong RTL. Use -vt to see where the RTL > is searched. Well, I compiled Lazarus without problems.. Then I wanted to compile my previously checked out fpc-sources with FPC 1.0.5; That is what failed.

Should be fixed now. The snapshot creation also failed because of this problem.

Peter

Reply by email

Michael Van Canneyt
to Alejandro Nestor Vargas
Alejandro Nestor Vargas wrote 5 lines
> catch.pas(42,10) Fatal: Can't compile unit LINUX, no sources available > make: *** [ppc386] Error 1 > > > > Now what 's the error? What did I wrong?

There is no error; the problem is that in the main branch, the Linux unit has been renamed to 'unix'; when bootstrapping a new compiler this sometimes gives problems; it must still be solved.

Michael.

Reply by email