[fpc-devel] Minor problem building fpc2.3.1on OS/2

Dave Parsons dwparsons at t-online.de
Sun Dec 9 08:39:32 CET 2007


I sent this yesterday but it still hasn't shown up here yet
so I'll try again. Apologies if anyone receives it twice.
Dave



On Fri, 7 Dec 2007 19:55:12 +0100 (CET), Tomas Hajny wrote:

> Dave Parsons wrote:
> > On Fri, 07 Dec 2007 12:12:53 +0100, Vincent Snijders wrote:
> >> Dave Parsons schreef:
> 
> 
> Hi,
> 
> >> > I've just tried building fpc-2.3.1 from svn using fpc-2.0.4 and
> >> > received the following errors.
> >
> >> Can you start with fpc-2.2.0?
> >
> > No, according to the FPC download page 2.0.4 is the latest.
> > I've been trying to build from svn for a while now but it
> > didn't build until about 2 months ago & that was 2.3.1.
> 
> Correct. Nevertheless, there are binary snapshots available for both 2.2.1
> and 2.3.1; building with either of them should probably work (2.2.1 is
> preferred).

Well, I found and tried the files from here:-
 ftp://ftp.freepascal.org/pub/fpc/snapshot/v22/i386-os2

and now have another problem:-
< a couple of hundred similar lines cut >
..\..\rtl\units\os2\system.s:1075: Error: no such 386 instruction: `movups'
..\..\rtl\units\os2\system.s:1975: Error: no such 386 instruction: `ldmxcsr'
..\..\rtl\units\os2\system.s:2022: Error: no such 386 instruction: `movaps'
..\..\rtl\units\os2\system.s:4418: Error: no such 386 instruction: `ldmxcsr'
..\..\rtl\units\os2\system.s:4429: Error: no such 386 instruction: `stmxcsr'
system.pas(1208) Error: Error while assembling exitcode 1

So far I've tried regenerating the makefiles and changing fpc.cfg but
no change. I noticed a difference in the -O options but it seems to
ignore any changes I make in fpc.cfg, or they are overridden later.
For 2.0.4 I have -OG2p3 but with 2.2.1 I have only -O2.

Any ideas?

Dave





More information about the fpc-devel mailing list