On Mon, Feb 02, 2015 at 04:32:34PM +0100, Thomas Schwinge wrote: > Hi! > > On Tue, 23 Dec 2014 19:49:35 +0100, I wrote: > > On Mon, 10 Nov 2014 17:19:57 +0100, Bernd Schmidt <ber...@codesourcery.com> > > wrote: > > > The scripts (11/11) I've put up on github, along with a hacked up > > > newlib. These are at [...] > > > > They are likely to migrate to MentorEmbedded from bernds, but that had > > > some permissions problems last week. > > > > That has recently been done: > > <https://github.com/MentorEmbedded/nvptx-tools> and > > <https://github.com/MentorEmbedded/nvptx-newlib> are now available. > > > > (I'm aware that we still are to write up how to actually build and test > > all this.) > > I just updated > <https://gcc.gnu.org/wiki/Offloading?action=diff&rev2=26&rev1=25>.
Can you please update the gmane URLs to corresponding https://gcc.gnu.org/ml/gcc-patches/ URLs? We have our own mailing list archives, no need to use third party ones. > > OK to check in the following to trunk? > --- gcc/config/nvptx/nvptx.opt > +++ gcc/config/nvptx/nvptx.opt > @@ -17,13 +17,13 @@ > ; along with GCC; see the file COPYING3. If not see > ; <http://www.gnu.org/licenses/>. > > -m64 > -Target Report RejectNegative Mask(ABI64) > -Generate code for a 64 bit ABI > - > m32 > Target Report RejectNegative InverseMask(ABI64) > -Generate code for a 32 bit ABI > +Generate code for a 32-bit ABI > + > +m64 > +Target Report RejectNegative Mask(ABI64) > +Generate code for a 64-bit ABI I'd expect you want also Negative(m64) on the m32 option and Negative(m32) on the m64 option. > +@table @gcctabopt > + > +@item -m32 > +@itemx -m64 > +@opindex m32 > +@opindex m64 > +Generate code for 32-bit or 64-bit ABI. I guess you should mention which one of those is the default (if it isn't configure time configurable). What about multilibs, is newlib built for both -m32 and -m64, or just the default option? Jakub