Sign in Join

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

Mailing lists / fpc-devel / 2006-12

OS X make cycle compilation broken

7 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

Jan Ruzicka

Hi

make cycle in fpc/compiler directory on OS X ends in an error.

I did make clean, make and make cycle.
The "make clean" and "make" runs without error.
Am I doing something wrong?
Thanks

Jan

$ svn up At revision 5564.

-----ERROR messages:------------------------

/usr/local/bin/ppcppc -dNOMOUSE -dFPC_USE_LIBC -Fi../inc -Fi../ powerpc -Fi../unix -Fi../bsd -Fi../bsd/powerpc -Fi../darwin/powerpc - FE. -FU../../rtl/units/powerpc-darwin -dpowerpc -Us -Sg ../bsd/system.pp Free Pascal Compiler version 2.1.1 [2006/01/20] for powerpc Copyright (c) 1993-2005 by Florian Klaempfl
Target OS: Darwin for PowerPC
Compiling ../bsd/system.pp
systemh.inc(72,15) Error: Duplicate identifier "Real" varianth.inc(252,12) Error: Function is already declared Public/ Forward "operator :=(const Double):Variant"
varianth.inc(302,12) Error: Function is already declared Public/ Forward "operator :=(const Variant):Double"
varianth.inc(387,12) Error: Function is already declared Public/ Forward "operator :=(const OleVariant):Double"
varianth.inc(437,12) Error: Function is already declared Public/ Forward "operator :=(const Double):OleVariant"
system.pp(48,1) Fatal: There were 5 errors compiling module, stopping system.pp(48,1) Fatal: Compilation aborted
make[5]: *** [system.ppu] Error 1
make[4]: *** [darwin_all] Error 2
make[3]: *** [rtl] Error 2
make[2]: *** [next] Error 2
make[1]: *** [ppc1] Error 2
make: *** [cycle] Error 2

Reply by email

Jonas Maebe
to Jan Ruzicka
Jan Ruzicka wrote 5 lines
make cycle in fpc/compiler directory on OS X ends in an error. I did make clean, make and make cycle. The "make clean" and "make" runs without error. Am I doing something wrong?

Start the cycle with 2.0.4. Building is always only /guaranteed/ to work when starting with the latest release compiler.

Jonas

Reply by email

Florian Klaempfl
to Jonas Maebe
Show quoted text 11 lines
On 11 dec 2006, at 06:58, Jan Ruzicka wrote: > make cycle in fpc/compiler directory on OS X ends in an error. > > I did make clean, make and make cycle. > The "make clean" and "make" runs without error. > Am I doing something wrong? Start the cycle with 2.0.4. Building is always only /guaranteed/ to work when starting with the latest release compiler.

Hard to do with i386-darwin, no ;)?

Reply by email

Jonas Maebe
to Jonas Maebe
Jonas Maebe wrote
> Hard to do with i386-darwin, no ;)? I didn't break the cycle when starting with 2.1.1 :)

Besides, this person is using ppc anyway:

Show quoted text 7 lines
/usr/local/bin/ppcppc -dNOMOUSE -dFPC_USE_LIBC -Fi../inc -Fi../ powerpc -Fi../unix -Fi../bsd -Fi../bsd/powerpc -Fi../darwin/powerpc -FE. -FU../../rtl/units/powerpc-darwin -dpowerpc -Us -Sg ../bsd/ system.pp Free Pascal Compiler version 2.1.1 [2006/01/20] for powerpc Copyright (c) 1993-2005 by Florian Klaempfl Target OS: Darwin for PowerPC

Jonas

Reply by email

Schindler Karl-Michael
to Jonas Maebe
Jonas Maebe wrote 15 lines
On 11 dec 2006, at 13:59, Jonas Maebe wrote: >> Hard to do with i386-darwin, no ;)? > > I didn't break the cycle when starting with 2.1.1 :) Besides, this person is using ppc anyway: > /usr/local/bin/ppcppc -dNOMOUSE -dFPC_USE_LIBC -Fi../inc -Fi../ > powerpc -Fi../unix -Fi../bsd -Fi../bsd/powerpc -Fi../darwin/ > powerpc -FE. -FU../../rtl/units/powerpc-darwin -dpowerpc -Us - > Sg ../bsd/system.pp > Free Pascal Compiler version 2.1.1 [2006/01/20] for powerpc > Copyright (c) 1993-2005 by Florian Klaempfl > Target OS: Darwin for PowerPC

Free Pascal Compiler version 2.1.1 [2006/01/20] for powerpc [2006/01/20] should be a fairly dated version.
Probably easier to pick up a snapshot compiler or use fink for the 2.0.4 compiler

Michael aka Mischi.

Reply by email

Schindler Karl-Michael
to Schindler Karl-Michael

Hi

There is no libgdb support for macosx yet. but make or make nodbg produces a usable ide.
However, make install issues a

$(MAKE) -C ../packages/base/gdbint

which fails with

libgdb.a not found, using default GDB GDB_V6
/usr/local/bin/ppc386 -Fu../../../rtl/units/i386-darwin -Fl../../../ libgdb/darwin -Fo../../../libgdb/darwin -FE. -FUunits/i386-darwin - di386 -dGDB_V6 gdbint.pp
gdbint.pp(191,4) Fatal: User defined: This OS is not yet supported !!! Fatal: Compilation aborted
make: *** [gdbint.ppu] Error 1

the above line was added to Makefile.fpc in revission 5504l.

Maybe there is a way to pass nogdb and install, but I could not figure it out.

Happy coding - Michael

Reply by email