[fpc-pascal] 204 Compiler

Carsten Bager carsten at beas.dk
Thu Sep 14 15:14:02 CEST 2006


> > When compiling some code that has worked with the 202 compiler I 
> > get this error:
> > ----
> > Assembling led
> > Assembling with smartlinking led
> > L:\FPC\ARMBIN\AR.EXE: creating libpled.a
> > wrong command or filename

This is also a problem with the Windows -> Windows compiler. It shows 
under Windows 98, but not under XP.

Are the FPC compiler stopping to support Windows 98/ME ?

Regards

Carsten

------------------------------
The problem lies in the command that "fpc" sends to "ar"

The 202 compiler sends
L:\FPC\ARMBIN\ar.exe rs libputest.a utest.sl\utest*.o

The 204 compiler sends
L:\FPC\ARMBIN\ar.exe qS libputest.a  utest.sl\utest0s10.o 
utest.sl\utest0s9.o utest.sl\utest0s8.o utest.sl\utest0s7.o utest.sl\utest0s6.o 
utest.sl\utest0s5.o utest.sl\utest0s4.o utest.sl\utest0s3.o utest.sl\utest0s2.o 
utest.sl\utest0s1.o

--------------------------------
program ptest;

uses utest;

begin
  Test;
end.
----------------------------------
unit utest;

{$SMARTLINK ON}

interface

Procedure Test;


implementation

Procedure Test;
Begin
  WriteLn('Test');
End;

end.
-------------------------------
c:\pp\204\Bin\i386-win32\fpc -XX -al ptest.pas
-- 
Carsten Bager
Bøvlingbjerg El-automatik
Brørupvænget 10
7650 Bøvlingbjerg
Tlf. +4597885222 Fax +4597885434
http://www.beas.dk




More information about the fpc-pascal mailing list