This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Support Xilinx PowerPC target boards


Michael Meissner wrote:
On Tue, Nov 18, 2008 at 08:56:20AM -0800, Michael Eager wrote:
The attached patch adds default board configuration for
--target=powerpc-xilinx-eabi.

--
Michael Eager	 eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077


2008-11-18 Michael Eager <eager@eagercon.com>

	* config/rs6000/xilinx.h: New, options for
	--target=powerpc-xilinx-eabi
	* config.gcc: Include xilinx.h

Rather than defining the defines in CPP_OS_DEFAULT_SPEC, it would be better to define these in TARGET_OS_CPP_BUILTINS or TARGET_OS_SYSV_CPP_BUILTINS. This way, if the user uses the -std=<xxx> call, it will only define __FOO__, and if the user doesn't use -std=<xxx>, it will define FOO and __FOO__. Hopefully Xilinx can change their header files to use either FOO or __FOO__ being defined.

It doesn't appear that this would permit defines which are conditional on command line options.


-- Michael Eager eager@eagercon.com 1960 Park Blvd., Palo Alto, CA 94306 650-325-8077


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]