From: Scott D. F. <sd...@ms...> - 2006-11-16 21:57:12
|
Hi Emilio, I've been unable to use OpenC++ with gcc 4.x. OpenC++'s parser barfs on some of the standard headers. I do have it working with gcc 3.x. Although, I have hacked the parser a bit to get it to work, and the latest OpenC++ cvs snapshot may not have similar patches applied to it. You may want to install multiple versions of gcc on your system, having the latest/greatest as your default and using an older version with OpenC++. On Debian-based systems (e.g. Ubuntu), they offer different gcc version packages. For the older versions, the commands are appended with "-version"; for example, "gcc" becomes "gcc-3.3". When you build OpenC++ by hand, you can pass configure options that tell it to use the older version of gcc. There is a catch, though. OpenC++ hard codes the name of the compiler "g++" into its source as a string. Before you compile OpenC++, you will need to find that string and replace it with the correct command name for your version. I can't recall if there are any other difficulties with getting this sort of setup to work, but there may very well be. Good luck! Cheers, Scott On 11/16/06, Em=EDlio Wuerges <wu...@gm...> wrote: > Hi everyone, > > How should I procced to use openc++ with gcc 4.0? > > -- > Emilio Wuerges > LAPS - Laboratorio de Automacao de Projeto de Sistemas > UFSC - Universidade Federal de Santa Catarina > Brasil > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share y= our > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > > _______________________________________________ > Opencxx-users mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opencxx-users > > > |