Sign in Join

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

Mailing lists / fpc-devel / 2001-05

problems using other messagefiles

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Jose A. Gómez

Hi!

I intalled fpc 1.0.4 win32 and I've got no problems compiling programs.

Byt now I' ve changed the messagefile in ppc386.cfg to spanish, and now programs don't compile.
:-(
--- Fichero ppc386.cfg ---
# path to the messagefile, not necessary anymore but can be used to override # the default language
#-Frc:pp104/msg/errore.msg
#-Frc:pp104/msg/errorn.msg
-Frc:pp104/msg/errores.msg
#-Frc:pp104/msg/errord.msg
#-Frc:pp104/msg/errorr.msg
--- Fichero ppc386.cfg ---
The error:
C:ppdemo> ppc386 HELLO.PP
Free Pascal Compiler versión 1.0.4 [2000/12/30] para i386 Copyright (c) 1998-2000 por Florian Klaempfl
OS de destino: Win32 for i386
Compilando hello.pp Hello.pp(21,3) Fatal: No se puede abrir el ejecutable HELLO

C:ppdemo>
This problem is the same with other messagefiles, except English: C:\pp\demo>ppc386 HELLO.PP
Free Pascal Compiler Version 1.0.4 [2000/12/30] für i386 Copyright (c) 1993-2000 Florian Klämpfl
Zielbetriebssystem: Win32 for i386
Kompiliere hello.pp
hello.pp(21,3) Fatal: Kann ausführbare Datei nicht öffnen: HELLO

C:\pp\demo>

any idea?

TIA...
Jose A.

---
Jose A. Gomez
mailto:

Jonas Maebe
to Jose A. Gómez
Jose A. Gómez wrote
Byt now I' ve changed the messagefile in ppc386.cfg to spanish, and now programs don't compile. :-(

That's because the Spanish message file is probably not synchronized with the English one. If the utility msgdif is included with the compiler (I don't know whether it's distributed with the releases), you should be able to fix this by using

msgdif <msg_files_directory>\errore.msg <msg_file_directory>\errores.msg

and then set the generated new.msg as message file to use in your ppc386.cfg.

If that utility isn't included, I can mail you the source and you can compile it yourself (if you also installed the sources of the compiler, it's in source/compiler/utils)

Jonas