Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Problems Compiling for WinCE (PPC2003) ARM
Re: Problems Compiling for WinCE (PPC2003) ARM [message #17946 is a reply to message #17620] Wed, 03 September 2008 23:26 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14266
Registered: November 2005
Ultimate Member
niofis wrote on Fri, 22 August 2008 16:02

-TheIDE on linux (I'm using Ubuntu 64bits) asks for gcc 4.1, I find it weird as the previous version worked fine with the gcc 4.2 compiler. But I think I found the problem, compilation with 4.2 sometimes makes TheIDE crash with a memory access error, and not only that, a program I'm trying to compile with it can no longer start because it crashes with the invalid memory access error, when compiled with the speed option, this didn't happen with the previous upp version though.



This is a confirmed error in GCC 4.2 (we have reported it in GCC's bugzilla and it was confirmed). That is why we are asking for 4.1, which works just fine.

Quote:


I have to use the Optimal or Debug setting, options that I don't like because I need the best speed I can get.



Optimal should be as fast as Fast...

Quote:


-On a related issue, when installing upp on FreeBSD (64bits) from ports, I had set the CFLAGS and CXXFLAGS to "-O3 -pipe -march=nocona -mfpmath=sse -msse -msse2 -ss3", and compiled (gcc 4.2.1) and installed, the initial setup couldn't finish as it crashed with a invalid memory access error, thing that didn't happen with the previous upp version. I had to coment out the CFLAGS and CXXFLAGS, recompile and reinstall, and then TheIDE would run fine.



IMO, the same thing. GCC 4.2 simply has serious bugs when compiling with -O3.

Quote:


I must mention that the target platform I refer with WINCE is PocketPC 2003 (Maybe that's the source of all problems), and these are the bms I'm using:



Well, I have to admit we have abandoned PocketPC for a while (nobody was using it, so no bug or problem reports etc...)

I guess it is time to restart efforts.

Have you tried that GCC version for PPC?

http://cegcc.sourceforge.net

At the moment, I do not like the idea of installing the whole visual studio just to get the commandline compiler. If I had working compiler, I could try to fix U++ at least to the 2007.1 level...

Mirek
 
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: compiling mfc projects
Next Topic: U++ 2232 compiler error
Goto Forum:
  


Current Time: Fri Jul 18 07:23:07 CEST 2025

Total time taken to generate the page: 0.04002 seconds