[fpc-pascal] no_dead_strip not recognized by OS X 10.3 assembler

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Oct 29 11:36:12 CET 2007


On Mon, 29 Oct 2007 11:08:48 +0100
Jonas Maebe <jonas.maebe at elis.ugent.be> wrote:

> 
> On 29 Oct 2007, at 11:03, Tobias Giesen wrote:
> 
> > I am now trying the latest Lazarus snapshots on OS X 10.3 on a
> > powerpc Mac. The application compiles 99% fine but at the end it
> > fails with the
> > following errors (from the assembler, I assume):
> >
> > unknown section attribute: no_dead_strip
> > [...]
> > Error while assembling Exit Code 1
> >
> > Is there a solution for this problem?
> 
> Yes, add the -CX- -X- command line options. Dead code stripping is  
> not supported by the 10.3 assembler/linker. The compiler has however  
> no clue on which OS version it is running, so if Lazarus tells it to  
> generate smart linkable code, it will do so.

I added the hint to the FAQ. Please review:
http://wiki.lazarus.freepascal.org/Lazarus_Faq#Mac_OS_X

Mattias



More information about the fpc-pascal mailing list