Sign in Join

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

Mailing lists / fpc-devel / 2006-04

Tiger XCode

6 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

Paul Davidson

The Tiger 10.4.6 OS with XCode 2.2.1 does not seem to work with current FPC templates for Mac OS X.

Has anyone been able to compile a program using this combination. The default code sample provided abort compilation with:

Command /bin/sh failed with exit code 1
rm: build/: is a directory
/bin/sh: line 1: PRODUCT_NAME: command not found

Reply by email

Paul Davidson
to Paul Davidson

ps. Template PAscal Tool

Paul Davidson wrote 15 lines
The Tiger 10.4.6 OS with XCode 2.2.1 does not seem to work with current FPC templates for Mac OS X. Has anyone been able to compile a program using this combination. The default code sample provided abort compilation with: Command /bin/sh failed with exit code 1 rm: build/: is a directory /bin/sh: line 1: PRODUCT_NAME: command not found _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email

Dr. Karl-Michael Schindler
to Paul Davidson: The Tiger 10.4.6 OS with XCode 2.2.1 does not seem to work with current FPC templates for…

Hi all,

i haven't done so. but maybe I'll try during the next days. fpc 2.1.1 or 2.0.2?

Paul Davidson wrote 14 lines
The Tiger 10.4.6 OS with XCode 2.2.1 does not seem to work with current FPC templates for Mac OS X. Has anyone been able to compile a program using this combination. The default code sample provided abort compilation with: Command /bin/sh failed with exit code 1 rm: build/: is a directory /bin/sh: line 1: PRODUCT_NAME: command not found _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email

Paul Davidson
to Dr. Karl-Michael Schindler

2.1.1
and Thanks :)

Dr. Karl-Michael Schindler wrote 26 lines
Hi all, i haven't done so. but maybe I'll try during the next days. fpc 2.1.1 or 2.0.2? Am 12.04.2006 um 14:08 schrieb Paul Davidson: > The Tiger 10.4.6 OS with XCode 2.2.1 does not seem to work with > current FPC templates for Mac OS X. > > Has anyone been able to compile a program using this combination. > The default code sample provided abort compilation with: > > Command /bin/sh failed with exit code 1 > rm: build/: is a directory > /bin/sh: line 1: PRODUCT_NAME: command not found > > > _______________________________________________ > fpc-devel maillist - > http://lists.freepascal.org/mailman/listinfo/fpc-devel _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email

Schindler Karl-Michael
to Paul Davidson: ps. Template PAscal Tool

Hi

I tried to do the fpc tests and encountered a bug. The file "tests/ test/cg/obj/darwin/powerpc/tcext5.o" was missing. I created it with gcc -c cext5.c from tests/test/cg/obj/tcext5.c. Then the test run went through. However, I am not sure how cext5.c should be compiled.

The notes in /trunk/tests/test/cg/obj/readme.txt also need an update for darwin both processors.

Probably an all Jonas task.

Best wishes - Michael.

Reply by email

Jonas Maebe
to Schindler Karl-Michael
Schindler Karl-Michael wrote
I tried to do the fpc tests and encountered a bug. The file "tests/ test/cg/obj/darwin/powerpc/tcext5.o" was missing. I created it with gcc -c cext5.c from tests/test/cg/obj/tcext5.c. Then the test run went through. However, I am not sure how cext5.c should be compiled.

It's been in svn for more than a month already:

~/fpc/tests/test/cg/obj jonas$ svn log -v darwin/powerpc/tcext5.o ------------------------------------------------------------------------ r3166 | jonas | 2006-04-08 00:17:45 +0200 (Sat, 08 Apr 2006) | 6 lines Changed paths:
M /trunk/compiler/powerpc/cpupara.pas
A /trunk/tests/test/cg/obj/darwin/powerpc/tcext5.o A /trunk/tests/test/cg/obj/tcext5.c
A /trunk/tests/test/cg/tcalext5.pp

* fixed skipping of parameter registers for ppc/aix in case a parameter
has to be passed on the stack before all registesters are used up
* fixed calculation of stack offsets for ppc/aix abi for small records,
arrays and ordinals passed on the stack after all registers are used
+ test for all of the above

------------------------------------------------------------------------

The i386 version is still missing though.

The notes in /trunk/tests/test/cg/obj/readme.txt also need an update for darwin both processors.

It doesn't really matter for Darwin. Any gcc is ok, and you don't need special options.

Jonas

Reply by email