Avtar Singh | 25 Jul 2012 14:51
Picon

Re: cegcc/mingw32ce with gcc 4.6.3

(Continuing with an old thread because of context)

Hi,

I have downloaded Max's cegcc fork (mail below), and built the mingw32ce toolchain. Build has been successful on 32-bit Ubuntu 12.04 LTS. Simple programs work fine. However, if I have a simple program with a "virtual" function, it throws a Data Abort. The program that I am trying to run is reproduced below:

/* tv1.cpp */
#include <iostream>

using namespace std;

class TVA {
    public:
    int pm() { return 10; }
    virtual int vm();
};

int TVA::vm() { return 20; }

int main() {
    cout << "tv1-begin";

    TVA a1;
    int rv = a1.pm();
    cout << rv;

    cout << "tv1-end";
    return 0;
}

Command line: arm-mingw32ce-g++ tv1.cpp -o tv1.exe
Note: Result is same whether enable-auto-import is used or not used

Is the support for "virtual" broken in this toolchain too?

Thanks,
Avtar



From: Max Kellermann <max <at> du...> - 2012-03-13 22:13

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@...
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Pavel Pavlov | 6 May 2012 05:49
Picon

WinPhone8 and gcc, any info?

Hello all, it seems that cegcc is quite dead, or people who use it are happy with it (just like me).

 

I'm building my code for WinPhone7 and everything worked out of the box. I mainly use cegcc for code with att-style asm, or I use gnu assembler. I compile static libs with it and link it with regular tools from MS.

 

Now, with WinPhone8 it rejects the libs as invalid. Upcoming VisualStudio and Windows 8 have ARM support out of the box. armasm (which looks too similar to armasm that comes with arm's dev tools) lists three types of machine targets: arm, thumb, armce. Any idea what's different? Do they use different object format (quite unlikely), or they simply added different CPU id for otherwise identical objects?

 

Since Windows 8 ads native arm support, perhaps gcc/mingw will add full support for windows/arm as well. Any info on that?

 

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@...
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Max Kellermann | 13 Mar 2012 23:13

cegcc/mingw32ce with gcc 4.6.3

Hi,

I have updated my cegcc fork to gcc 4.6.3, here's my release
2012-03-13:

 http://max.kellermann.name/projects/cegcc/
 http://max.kellermann.name/download/xcsoar/devel/cegcc/

Max

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
James Tyou | 28 Feb 2012 19:42
Picon

Rd and Rm should be different in mul?

Hello There,

I compile some c source with
\bin>arm-mingw32ce-gcc --version
arm-mingw32ce-gcc (GCC) 4.5.3

and switchs:
-mcpu=arm1176jzf-s -Wa,-mcpu=arm1176jzf-s

but at last it shows some error:
ccvEiUjA.s:322: Rd and Rm should be different in mul

why?
is this a bug of mingw32ce?

regards,
jz

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
Prageeth | 20 Feb 2012 11:50
Picon

pthreads support

Hi All,

Can somebody comment on the support for pthreads in the latest CeGCC project source files? Is it supported?

Regards,
Prageeth

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@...
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Prageeth | 20 Feb 2012 11:44
Picon

mmap with arm-cegcc

Hi,

We are working with arm-cegcc toolchain, v0.55, on Ubuntu Linux. It looks like the POSIX porting layer is missing mmap support. This is our understanding:

(a) There is no mmap (and related in-memory management functions) support either in v0.55 or v0.59.

(b) Searching this mailing list shows the following thread that has a patch for mmap:

Our questions:

1. Does the latest CeGCC project source files have mmap support?

2. If not, is anyone using the above patch in any of their live projects now?

Thanks,
Prageeth

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@...
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Max Kellermann | 23 Dec 2011 15:13

cegcc/mingw32ce with gcc 4.6.2, binutils 2.22

Hi,

the build 2011-12-23 of my cegcc fork comes with gcc 4.6.2 and
binutils 2.22.  For the first time, gcc's link time optimization (LTO)
works on Windows CE!

 http://max.kellermann.name/projects/cegcc/
 http://max.kellermann.name/download/xcsoar/devel/cegcc/

Max

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
hdzhang264 | 1 Dec 2011 04:43
Favicon

can not support "PLD" instruction!

I am using mingw32ce under linux.
 
I encoutered " error:selected processor does not support 'pld[r1]".
 
Pld is supported only on arm5 or higher.
 
Doed  Cegcc only support arm4? 

2011-11-29

hdzhang264 cc/
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@...
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
hdzhang264 | 30 Nov 2011 14:50
Favicon

error while loading libmpf.so.1?

 
 
I installed from a binary distribution "mingw32ce-0.59.1.tar.bz2  ".

I am using arm-wince-mingw32ce tools.

I am using Linux platform  to develop.

What is the nature of your problem ?  --------

mingw32ce/libexec/gcc/arm-mingw32ce/4.4.0/cc1:error while loading shared libraries:llibmpfr.so.1:cannot open shared object file: No such file or directory.

 

2011-11-29

hdzhang264 cc/
Attachment (Makefile): application/octet-stream, 1629 bytes
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@...
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
hdzhang264 | 30 Nov 2011 12:42
Favicon

where are the target files?

 
 
I installed from a binary distribution "cegcc_mingw32ce_cygwin1.7_r1375.tar.bz2 ".

I am using arm-wince-mingw32ce tools.

I am using Linux platform  to develop.

What is the nature of your problem ?  --------can not found the target file (.o file).

Can you send us a small source that demonstrates the problem ?

        When compile my project, none of error occurs. But after compile, none of the target file is found under the project folder.  (If I use arm-linux-gcc/arm-linux-as,the target file is right.)

:

the output shows no one error or warning.

just like "arm-mingw32ce-gcc.exe -o *.c -o *.o","arm-mingw32ce-as.exe -o *.o *.s".

I found it did not compile the file ever, because it did not point any error even i put some obvious wrong code in my files.

2011-11-29
hdzhang264
Attachment (Makefile): application/octet-stream, 1629 bytes
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@...
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
hdzhang264 | 30 Nov 2011 10:30
Favicon

where are the target files?

 
 
I installed from a binary distribution "cegcc_mingw32ce_cygwin1.7_r1375.tar.bz2 ".

I am using arm-wince-mingw32ce tools.

I am using Linux platform  to develop.

What is the nature of your problem ?  --------can not found the target file (.o file).

Can you send us a small source that demonstrates the problem ?

        When compile my project, none of error occurs. But after compile, none of the target file is found under the project folder.  (If I use arm-linux-gcc/arm-linux-as,the target file is right.)

 

:

the output shows no one error or warning.

just like "arm-mingw32ce-gcc.exe -o *.c -o *.o","arm-mingw32ce-as.exe -o *.o *.s".

2011-11-29
hdzhang264
Attachment (Makefile): application/octet-stream, 1629 bytes
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@...
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Gmane