Adriaan van Os wrote:
The compiler build now passes string.pas and error.pas, but stops at math.pas as follows:
../.././xgpc -B../.././ -c -I. -W -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -g -O2 --unit-path=/Users/adriaan/gnu/gpc-331d4/gcc/p/rts --automake `cat needed-options` -DRTS_RELEASE_STRING="'`cat /Users/adriaan/gnu/gpc-331d4/gcc/p/rts/rts-version`'" -DGCC_VERSION="'3.3.1'" /Users/adriaan/gnu/gpc-331d4/gcc/p/rts/math.pas /var/tmp//ccCnNWaU.s:1871:FATAL:Symbol L__p_Complex_Ln$stub already defined.
Hmm, perhaps the assembler doesn't like `_p_Complex_Ln' to be an external symbol (for complex `Ln' internally) and an asmname of an function. Does it help if you replace `Ln' by `Complex_Ln' in Complex_ArcSin, Complex_ArcCos and Complex_Power? Or if you move the implementation of Complex_ArcSin and Complex_ArcCos after that of Complex_Ln? (Please try both.) Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://www.gnu-pascal.de/todo.html GPC download signing key: 51FF C1F0 1A77 C6C2 4482 4DDC 117A 9773 7F88 1707