04.01.2015 Views

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Compiler Command-line Options<br />

This option is analogous to the GCC command-line option, -MP.<br />

Example<br />

Example output:<br />

source.o: source.c<br />

source.o: header.h<br />

header.h:<br />

See also<br />

• --depend=filename on page 2-40<br />

• --depend_format=string on page 2-41<br />

• --depend_system_headers, --no_depend_system_headers on page 2-42<br />

• --depend_target=target on page 2-43<br />

• --ignore_missing_headers on page 2-72<br />

• -M on page 2-88<br />

• --md on page 2-89<br />

2.1.131 --pointer_alignment=num<br />

This option specifies the unaligned pointer support required for an application.<br />

Syntax<br />

--pointer_alignment=num<br />

Where num is one of:<br />

1 Treats accesses through pointers as having an alignment of one, that is,<br />

byte-aligned or unaligned.<br />

2 Treats accesses through pointers as having an alignment of at most two,<br />

that is, at most halfword aligned.<br />

4 Treats accesses through pointers as having an alignment of at most four,<br />

that is, at most word aligned.<br />

8 Accesses through pointers have normal alignment, that is, at most<br />

doubleword aligned.<br />

2-104 Copyright © 2007-2010 <strong>ARM</strong>. All rights reserved. <strong>ARM</strong> DUI 0348C<br />

Non-Confidential,<br />

ID101213

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!