Re: max-page-size syntax

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



CortexFan <giancarlo.parodi@xxxxxxxxx> writes:

> what is the correct syntax for the max-page-size keyword?
>
> Is it just -z max-page-size=0x100 or does it need single or double quotes,
> etc?
>
> I tried pretty much all combinations but the linker (Sourcery G++ Lite
> 2010q1-188) still does not recognize the option 

Are you running the linker directly, or are you using the compiler to
link?  When using the compiler to link, you should use
	gcc .... -Wl,-z,max-page-size=0x100

Also make sure that
	ld --help | grep max-page-size
prints something.  It's possible that you have an old linker.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux