Re: [SPAM] Re: [fpc-devel] Creating ppc386 from ppcx64

2010-01-06 Thread Jonas Maebe

On 06 Jan 2010, at 21:15, Leonardo M. Ramé wrote:

 Thanks Jonas, I went a step further.
 
 Now, when I just do fpc, to  I got this:
 
 Error: ppc386 can't be executed, error message: Failed to execute ppc386, 
 error code: 127
 
 What can be causing this?

Create a symlink from /usr/local/bin/ppc386 to /usr/local/lib/fpc/2.5.1/ppc386. 
fpc searches for a compiler in the same directory as where its own binary is 
located. make install does not create/overwrite such symlinks, because that 
changes your default compiler.

 /usr/bin/ld: cannot find -ldl
 Error: Error while linking
 Fatal: There were 1 errors compiling module, stopping
 Fatal: Compilation aborted
 
 Any hint?

Install 32 bit compatibility libraries on your Linux distribution. If they are 
unavailable: tough luck, I guess (unless you setup an complete i386 
cross-compilation environment on your system, but that's not FPC specific in 
any way and I can't help with that).


Jonas___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [SPAM] Re: [fpc-devel] Creating ppc386 from ppcx64

2010-01-06 Thread Leonardo M . Ramé
Thanks again Jonas, that worked ok!.

Leonardo M. Ramé
http://leonardorame.blogspot.com


--- On Wed, 1/6/10, Jonas Maebe jonas.ma...@elis.ugent.be wrote:

 From: Jonas Maebe jonas.ma...@elis.ugent.be
 Subject: Re: [SPAM] Re: [fpc-devel] Creating ppc386 from ppcx64
 To: FPC developers' list fpc-devel@lists.freepascal.org
 Date: Wednesday, January 6, 2010, 6:26 PM
 
 On 06 Jan 2010, at 21:15, Leonardo M. Ramé wrote:
 
  Thanks Jonas, I went a step further.
  
  Now, when I just do fpc, to  I got this:
  
  Error: ppc386 can't be executed, error message: Failed
 to execute ppc386, error code: 127
  
  What can be causing this?
 
 Create a symlink from /usr/local/bin/ppc386 to
 /usr/local/lib/fpc/2.5.1/ppc386. fpc searches for a
 compiler in the same directory as where its own binary is
 located. make install does not create/overwrite such
 symlinks, because that changes your default compiler.
 
  /usr/bin/ld: cannot find -ldl
  Error: Error while linking
  Fatal: There were 1 errors compiling module, stopping
  Fatal: Compilation aborted
  
  Any hint?
 
 Install 32 bit compatibility libraries on your Linux
 distribution. If they are unavailable: tough luck, I guess
 (unless you setup an complete i386 cross-compilation
 environment on your system, but that's not FPC specific in
 any way and I can't help with that).
 
 
 Jonas___
 fpc-devel maillist  -  fpc-devel@lists.freepascal.org
 http://lists.freepascal.org/mailman/listinfo/fpc-devel
 



___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel