This is the mail archive of the gcc-help@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] |
El Tue, Apr 08, 2008 at 08:56:44AM -0700, Jim Wilson ens deleità amb les següents paraules: > Ramon Bertran Monfort wrote: >> I've seen in http://www.gnu.org/software/gcc/gcc-4.3/porting_to.html >> that C++ from version 4.3.0 has stricter requirements for function main >> signature. How is supposed to work this on a Cell platform? > > Apparently Cell has unusual programming requirements. You might need to > ask on a Cell related mailing list rather than a gcc related mailing > list. > I'll do it, thanks for the suggestion. > -ffreestanding will turn off the ISO C++ required check for the main > type signature, but it will also do other things that you may not want. > Okz, thanks again. Using this flag I can compile and the program runs as expected. > Jim Salut! -- ------------------------------------------------------------------------------- Ramon Bertran Monfort Departament d'Arquitectura de Computadors Telefon (+34) 93 4054033/54055 Universitat Politecnica de Catalunya Fax (+34) 93 4017055 Despatx C6-103/C6-221-9 Campus Nord e-mail rbertran@ac.upc.edu C. Jordi Girona 1-3 - 08034 Barcelona http://rbm.pc.ac.upc.edu ------------------------------------------------------------------------------- Not playing
Attachment:
signature.asc
Description: Digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |