On Tue, 28 Dec 2010, "Stefan Partheymüller" wrote:
-------- Original-Nachricht --------
Datum: Tue, 28 Dec 2010 13:50:42 +0100
Von: "Stefan Partheymüller" <stefan-partheymuel...@gmx.de>
An: "Sébastien Lorquet" <squa...@gmail.com>
Betreff: Re: [Cegcc-devel] CeGCC for Windows (without bein forced to use
cygwin)
Hi,
now I tried to compile some code for WinCE with you binary snapshot.
It works only when I'm using a Makefile, which is compiling step by step
(assemble, compile, link)
it should work with any autotooled program/library. Just pass
--host=arm-mingw32ce to configure
Vincent Torri
First I tried to compile with the following command:
arm-mingw32ce-g++ test.cpp -o test.exe
It compiles fine, but the executable cannot be executed by WinCE ("The file
'test' cannot be opened. Either it is not ....")
I also tried to link the libcoredll.a to ensure that nothing is missing,
but the result is the same as before.
But as I used my Makefile everything is fine. I need neither any additional
DLL-Files nor to set the Include Path. Well, the Include Path is recognized
correctly without Makefile, too.
Though I have to set the Lib Path and link the coredll library.
So, this is not really a problem, but it's quite confusing. Why does it
work when compiling step by step, but not when passing all necessary
parameters to arm-mingw32ce-g++?
Here is my Makefile (works):
---------------------------------------------------------------------------------------BEGIN
NAME:= test
SRC := test.cpp
BASN := $(basename $(SRC))
LDFLAGS := -LE:\progs\mingw32ce\arm-mingw32ce\lib -lcoredll
CFLAGS := -S
GCC := arm-mingw32ce-gcc
G++ := arm-mingw32ce-g++
AS := arm-mingw32ce-as
LD := arm-mingw32ce-ld
$(NAME).exe: $(BASN).o
$(LD) $(BASN).o -o $(NAME).exe $(LDFLAGS)
$(BASN).o: $(BASN).S
$(AS) -o $(BASN).o $(BASN).S
$(BASN).S: $(SRC)
$(G++) $(CFLAGS) -o $(BASN).S $(SRC)
------------------------------------------------------------------------------------------END
Regards
Stefan Partheymüller
-------- Original-Nachricht --------
Datum: Tue, 28 Dec 2010 11:06:21 +0100
Von: "Sébastien Lorquet" <squa...@gmail.com>
An: cegcc-devel@lists.sourceforge.net
CC: "Stefan Partheymüller" <stefan-partheymuel...@gmx.de>
Betreff: Re: [Cegcc-devel] CeGCC for Windows (without bein forced to use
cygwin)
Hi,
Okay, maybe that's an EOL problem.
but the patch is so simple you could apply it by hand.
I created the --gmp and --mpfr options, then passed the values to
--with-gmp in gcc 's ./configure
you could hardcode that for a quick test.
BTW, I attached the script I used there, that you can also find (until
I format my server again...) here:
So you want the file:
http://www.unsads.com/~squalyl/cegcc/cegcc-src/cegcc/src/scripts/build-mingw32ce.sh
The binary snapshot is there:
http://www.unsads.com/~squalyl/cegcc/mingw32ce-build-mingw.zip
Sebastien
On Tue, Dec 28, 2010 at 10:21 AM, "Stefan Partheymüller"
<stefan-partheymuel...@gmx.de> wrote:
Hi, I tried to build CeGCC for Windows like explained, but I have a
problem
with patching the build script. When I try to patch it, with the patch
tool
like this:
patch -p0 -i patch.diff
The following errors occur:
patching file build-mingw32ce.sh
Hunk #1 FAILED at 49.
Hunk #2 FAILED at 97.
Hunk #3 FAILED at 179.
Hunk #4 FAILED at 209.
Hunk #5 FAILED at 314.
Hunk #6 FAILED at 333.
6 out of 6 hunks FAILED -- saving rejects to file
build-mingw32ce.sh.rej
Sorry I don't know much about this tool...
--
NEU: FreePhone - kostenlos mobil telefonieren und surfen!
Jetzt informieren: http://www.gmx.net/de/go/freephone
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows
customers
to consolidate database storage, standardize their database
environment,
and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
--
NEU: FreePhone - kostenlos mobil telefonieren und surfen!
Jetzt informieren: http://www.gmx.net/de/go/freephone
--
GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt auch mit
gratis Notebook-Flat! http://portal.gmx.net/de/go/dsl
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel