Recent

Author Topic: usr/bin/ppcx64 returned an error exitcode  (Read 12287 times)

madler

  • Newbie
  • Posts: 2
usr/bin/ppcx64 returned an error exitcode
« on: February 27, 2015, 03:04:28 am »
Hi! I'm a total novice. I've installed Free Pascal on Linux Mint and have tried to run a Hello, World program but get the following error. I've googled around but can't find anything.

Any help will be appreciated! Thanks.

Code: [Select]
marc@marc-Studio-1737 ~/Dropbox/Nonwork/programming/pascal $ fpc 001_hello.p
Free Pascal Compiler version 2.4.4-3.1 [2012/01/04] for x86_64
Copyright (c) 1993-2010 by Florian Klaempfl
Target OS: Linux for x86-64
Compiling 001_hello.p
001_hello.p(6) Fatal: Syntax error, "." expected but "end of file" found
Fatal: Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode (normal if you did not specify a source file to be compiled)

Blaazen

  • Hero Member
  • *****
  • Posts: 3237
  • POKE 54296,15
    • Eye-Candy Controls
Re: usr/bin/ppcx64 returned an error exitcode
« Reply #1 on: February 27, 2015, 03:16:32 am »
This looks like bug in your program. Pascal program must always end with "end" + "." (dot):
Code: [Select]
  ...
  ...
end.
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

madler

  • Newbie
  • Posts: 2
Re: usr/bin/ppcx64 returned an error exitcode
« Reply #2 on: February 27, 2015, 04:37:27 am »
Ah. Classic stupid mistake. Thanks.

I thought it had something to do with the installation or something...

 

TinyPortal © 2005-2018