RE: [Pixil-devel] help
"Joshua Low" <[email protected]> Thu, 26 Aug 2004 11:59:16 +0800
| Newsgroups | gmane.comp.web.viewml.devel |
|---|---|
| Message-ID | <[email protected]> |
Dear Yoshio,
Thanks for the tip. Right now however, I am facing the other end of the
problem. I am currently using gcc-2.95.3, doing cross compiling to the
arm-elf platform. However, I get stuck with the following error message:
Fluid_Image.cxx: In method `pixmap_image::pixmap_image(const char *, FILE
*)':
Fluid_Image.cxx:159: internal error--unrecognizable insn:
(insn 1242 1239 1227 (set (reg:QI 4 r4)
(mem:QI (plus:SI (reg:SI 2 r2)
(const_int -2256 [0xfffff730])) 0)) -1 (nil)
(nil))
make[1]: *** [Fluid_Image.o] Error 1
make[1]: Leaving directory `/work/flnx/fluid'
Has anyone encountered this error? I do not see any illegitimate code in
this file in flnx-0.18.
Also, I cannot seem to find a gcc for arm-elf that is version 2.96. This is
probably because of the fact that 2.96 was never meant to be a formal GCC
release as stated in http://gcc.gnu.org/gcc-2.96.html.
So can anyone help?
Regards,
Joshua Low
-----Original Message-----
From: [email protected]
[mailto:[email protected]]On Behalf Of Yoshio Kashiwagi
Sent: 24 August 2004 09:05
To: Chang
Cc: [email protected]
Subject: Re: [Pixil-devel] help
Hi,
I also had the same problem just last week.
Using gcc-3.2, if a source code is corrected by the following
processes, compile errors will be solved.
1. Correct difference in STL part.
(1) std:: is added to string, vector, stack, and a map base class.
Ex) src/fltk/qstring.h
-class QString : public string
+class QString : public std::string
{
protected:
bool m_bNull;
public:
QString() { m_bNull = true; }
QString(int x) { m_bNull = true; }
- QString(const string & s) { assign(s.c_str()); m_bNull = false; }
+ QString(const std::string & s) { assign(s.c_str()); m_bNull = false; }
QString(const QString & s) { assign(s.c_str()); m_bNull = false;}
QString(const char * c) { if(c) assign(c); m_bNull = false;}
(2) Implicit typename
Ex) src/fltk/qdict.h
virtual void clear()
{
- map<string,T*>::iterator pos;
+ typename std::map<std::string,T*>::iterator pos;
if(m_bAutoDelete) {
for(pos=m_Map.begin(); pos != m_Map.end(); ++pos)
delete pos->second;
}
m_Map.clear();
}
Best regards,
Yoshio
>Hi,
>
>I'm new to Pixil. Currently trying to integrate ViewML into a ucLinux
embedded system.
>Need help here. Can anyone point me in the right direction?
>
>1. Reference to the newest ViewML distribution what's the latest gcc
cross compiler plus bin utils that
>have been known to compile fine with it and flnx and where can I download
them? There wasn't much threads in the mailing list
>correspondence to help me. Last read that gcc-2.9-6 works - that was the
general poll.
>
>2. From some of the threads seem like compilation is a nightmare. Can
anyone give me some directions
>(prob someone who had tried compiling in a similar environment) as to
what to look out for and compile
>this thing with the path of least resistance?
>
>3. If pt 2 is too long for anyone to type, is there anywhere like a
archive that actually talks about this?
>
>I really need to get this up quick.
>Any help will be very much appreciate!
>
>Chang
>______________________________________________________________________
>
>_______________________________________________
>Pixil-devel mailing list
>[email protected]
>http://www.pixil.org/cgi-bin/mailman/listinfo/pixil-devel
_______________________________________________
Pixil-devel mailing list
[email protected]
http://www.pixil.org/cgi-bin/mailman/listinfo/pixil-devel