Sign in Join

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

Mailing lists / fpc-pascal / 2007-10

Compiling / Make problems, latest SVN

6 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Tobias Giesen

Hello,

I am trying to compile the latest FPC 2.3 SVN on OS X i386 with CPU_TARGET=powerpc.

The crosscompiling guide on the freepascal web site says to do a: make cycle

But cycle seems to be no longer there, so I tried compiler_cycle and also make all.

Make all and make install both produce this error compiling pkgwget.pp:

Fatal: Can't find unit process used by pkgglobals

How can I fix this?

Thanks.

Tobias Giesen

Jonas Maebe
to Tobias Giesen
Tobias Giesen wrote 5 lines
I am trying to compile the latest FPC 2.3 SVN on OS X i386 with CPU_TARGET=powerpc. The crosscompiling guide on the freepascal web site says to do a: make cycle

make cycle only works in the compiler subdirectory.

Show quoted text 9 lines
But cycle seems to be no longer there, so I tried compiler_cycle and also make all. Make all and make install both produce this error compiling pkgwget.pp: Fatal: Can't find unit process used by pkgglobals How can I fix this?

That's a bug in the current svn sources (which breaks compilation on virtually all platforms), and will probably be fixed somewhere today.

Jonas

Vincent Snijders
to Jonas Maebe
Jonas Maebe wrote 23 lines
On 29 Oct 2007, at 07:54, Tobias Giesen wrote: > I am trying to compile the latest FPC 2.3 SVN on OS X i386 with > CPU_TARGET=powerpc. > > The crosscompiling guide on the freepascal web site says to do a: > make cycle make cycle only works in the compiler subdirectory. > But cycle seems to be no longer there, so I tried compiler_cycle and > also make all. > > Make all and make install both produce this error compiling > pkgwget.pp: > > Fatal: Can't find unit process used by pkgglobals > > How can I fix this? That's a bug in the current svn sources (which breaks compilation on virtually all platforms), and will probably be fixed somewhere today.

FYI, on windows it breaks earlier:

d:/lazarus/source/fpc/2.3/compiler/ppc386.exe -Ur -Xs -O2 -n -S2h -FuD:/lazarus/source/fpc/2.3/rtl/units/i386-win32
-FuD:/lazarus/source/fpc/2.3/packages/base/netdb/units/i386-win32 -FuD:/lazarus/source/fpc/2.3/packages/fcl-base/units/i386-win32 -FuD:/lazarus/source/fpc/2.3/packages/fcl-xml/units/i386-win32 -FuD:/lazarus/source/fpc/2.3/packages/fcl-passrc/units/i386-win32 -FuD:/lazarus/source/fpc/2.3/packages/fcl-async
-FuD:/lazarus/source/fpc/2.3/packages/base/winunits/units/i386-win32 -FE. -FUunits/i386-win32 -g -gl -O- -O1 -di386 -dRELEASE src/resolve.pp resolve.pp(199,2) Fatal: Can't open include file "resolve.inc" Fatal: Compilation aborted

a -Fisrc/win seems missing.

Vincent

Tobias Giesen
to Jonas Maebe

Hello,

thanks for the new Makefiles! I am now at SVN rev. 8988 and when I enter

cd fpc/compiler
make cycle CPU_TARGET=powerpc

I get:

Makefile:125: *** Compiler ppcrossppc not found. Stop.

I don't know what's happening. In this step, I do not want to crosscompile. I want to _make_ the cross-compiler.

Thanks for any help!!

Cheers,
Tobias

Jonas Maebe
to Tobias Giesen
Tobias Giesen wrote 12 lines
thanks for the new Makefiles! I am now at SVN rev. 8988 and when I enter cd fpc/compiler make cycle CPU_TARGET=powerpc I get: Makefile:125: *** Compiler ppcrossppc not found. Stop. I don't know what's happening. In this step, I do not want to crosscompile. I want to _make_ the cross-compiler.

Tell the Makefile explicitly with which compiler you want to start, e.g.

make cycle CPU_TARGET=powerpc FPC=ppc386

Jonas