Sign in Join

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

Mailing lists / fpc-pascal / 2004-08

How to use FPC with Xcode

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Olle Raab

There is now a step-by-step instruction by Rolf Jansen on how to use FPC with Xcode.

http://InstantWare.bei.t-online.de/Xcode-FreePascal/

Questions and suggestions are wellcome on the fpc-pascal mailing list

You can also find this link from the Free Pascal on Mac page:

http://www.freepascal.org/fpcmac.html

where you also can download a new 1.9.5 distribution of FPC for Darwin/MacOSX (made from the latest cvs) where the problems of the previous versions has been solved.

Olle Raab

Reply by email

Jose Pascual
to Olle Raab

Hi,

I have generated a program with FPC for ARM (and with multithread lib). I made several test with debug tools,
and I have found this.

Gdb running in ARM target debug perfectly the FPC program generated, Gdbserver running in ARM target (obviously) debug perfectly the FPC program generated using as host
Gdb running in ARM target but gdbserver generate segmentation fault when the host gdb is cross gdb (arm-linux-gdb)

I have try with gdb crosscompile (arm-linux-gdb) with v5.3 v6.1 v6.1.1 v6.2 (and insight also)

It's really stranger, but it's. Any suggestion about what's happening?

thank you in advanced.

regards

Reply by email

Jose Pascual
to Olle Raab: There is now a step-by-step instruction by Rolf Jansen on how to use FPC with Xcode.…

Hi,

I have downloaded FPC for ARM beta 1.9.3 from freepascal ftp, when I compile some example I have found problem in linking phase,

------------------------------------------------------------ Linking modulo_arm
/usr/local/arm/arm-linux/gcc-3.3.3-glibc-2.2.5/arm-linux/bin/ld: warning: cannot find entry symbol _start; defaulting to 000088c0 /usr/local/lib/fpc/1.9.3/cross/arm-linux/units/rtl/system.o(.text+0x147a 8): In function `SYSTEM_SYSTEM_EXIT':
: undefined reference to `_haltproc'
app.pas(126) Error: Error while linking
Closing script ppas.sh

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

I suppose that in link.res there is some object or library to link (perhaps <somefile>.o)

any suggestion?

thank you,

regards

Reply by email