El Tue, Apr 08, 2008 at 08:56:44AM -0700, Jim Wilson ens deleit�mb les seg�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@xxxxxxxxxx C. Jordi Girona 1-3 - 08034 Barcelona http://rbm.pc.ac.upc.edu ------------------------------------------------------------------------------- Not playing
Attachment:
signature.asc
Description: Digital signature