On 14 jul 2004, at 10:19, <[EMAIL PROTECTED]> wrote:

--------------------------------------
program SUITE;
var n:integer;
begin
n:=1;
write ('le resultat est', n);
end.
--------------------------------------
When i try to complie tis programm i get
the following:
[Ordinateur-de-Geoffroy-Derome:~] derome% fpc suite.tex
Free Pascal Compiler version 1.9.4 [2004/05/30] for powerpc
Copyright (c) 1993-2004 by Florian Klaempfl
Target OS: Darwin for PowerPC
Compiling suite.tex
Assembling suite
Linking suite
/usr/bin/ld: can't use -s with input files containg indirect symbols
(output file must contain at least global symbols, for maximum stripping
use -x)
7 Lines compiled, 0.4 sec

This is due to a bug in the Mac OS X linker which I didn't know about until after 1.9.4 was released. You can work around it by doing the following in a Terminal window:


cp /etc/fpc.cfg ~/.fpc.cfg
pico ~/.fpc.cfg

and then remove the line containing "-Xs" from this file and save it.


Jonas

PS: please mention it if you're not subscribed to the mailing list (or if you are subscribed, please post from the address with which you are subscribed).


_______________________________________________ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to