This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [HELP] GCC 4.1 branch Ada status on powerpc-darwin?
- From: Arnaud Charlet <charlet at adacore dot com>
- To: Peter O'Gorman <peter at pogma dot com>
- Cc: Eric Botcazou <ebotcazou at adacore dot com>, gcc at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org, Geoff Keating <geoffk at apple dot com>, Andrew Pinski <pinskia at physics dot uc dot edu>, Chris Douty <Chris_Douty at ampex dot com>, Laurent GUERBY <laurent at guerby dot net>
- Date: Mon, 23 Jan 2006 16:28:10 +0100
- Subject: Re: [HELP] GCC 4.1 branch Ada status on powerpc-darwin?
- References: <1137484110.20435.1003.camel@pc.site> <200601231523.47620.ebotcazou@adacore.com> <43D4EF1C.3080700@pogma.com> <200601231605.32546.ebotcazou@adacore.com> <43D4F3F9.4060706@pogma.com>
> Then set a var in link.c for darwin and use that as the conditional?
>
> #elif defined(__APPLE__)
> const char *__gnat_run_path_option = "-Wl,-filelist";
> const char *__gnat_object_file_option = "";
> char __gnat_shared_libgnat_default = STATIC;
> int __gnat_link_max = 262144;
> unsigned char __gnat_objlist_file_supported = 1;
> unsigned char __gnat_using_gnu_linker = 0;
> const char *__gnat_object_library_extension = ".a";
> unsigned char __gnat_darwin_idiocy = 1;
> #else
Well, the name certainly cannot be called __gnat_darwin_idiocy.
Instead, these flags should be tailored by capability, not by platforms.
That would be e.g. "unsigned char __gnat_force_libgcc_option = 1;"
Arno