[Lazarus] Lazarus 0.9.25 snapshot 20080831 for Mac OS X fails to run

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Sep 1 19:44:25 CEST 2008


On Mon, 1 Sep 2008 15:55:33 +0200
Tom Verhoeff <T.Verhoeff at tue.nl> wrote:

> On Sun, Aug 31, 2008 at 11:15:05PM +0200, Mattias Gaertner wrote:
>[...]
> Using util /usr/bin/ld
> An error occurred while linking 
> Error: Error while linking.

Nothing else?
Normally the linker writes some more information.

 
> I checked /etc/fpc.cfg, and it looks OK.
> 
> This is the command that Lazarus issues:
> 
> ppc386 -Sca -MObjFPC -CirotR -O1 -gl -k-dylib_file
> -k'/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib'
> -k-framework -kCarbon -k-framework -kOpenGL -k'-dylib_file'
> -k'/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib'
> -WG -vewnhiut -l -Fu/usr/local/share/lazarus/lcl/units/i386-darwin/
> -Fu/usr/local/share/lazarus/lcl/units/i386-darwin/carbon/
> -Fu/usr/local/share/lazarus/packager/units/i386-darwin/ -Fu. -oHello
> -dLCL -dLCLcarbon hello.lpr
> 
> (By the way, is there a simple way to get at that command and be able
> to copy it to the clipboard?)

See
http://wiki.lazarus.freepascal.org/IDE_tricks#Getting_the_compiler_command_line_parameters_created_by_the_IDE

 
> So close and yet so far away :-)


Mattias



More information about the Lazarus mailing list