Thanks Vincent,

I managed to get rid of the whole cygwin, unfortunately I have to keep all 
the cygwin-DLL files.
Compiling  only works in 3 steps: converting the C / C++ Code into 
Assembler Code  (.S), assembling the Assembler Code and generate an Object 
(.o) file and  finally link the Object file with the Coredll library 
(libcoredll.a)
I  wrote a Makefile to automate the compilation process. Unfortunately I'm  
not the best "Makefile-writer" so there are probably some things which  
could be more easier and more smarter done.

Here is my Makefile:

--------------------------------------------------------------- BEGIN

NAME:= TestWinCE
SRC := test.cpp

BASN := $(basename $(SRC))

LDFLAGS := -L/cygdrive/c/Programme/mingw32ce/arm-mingw32ce/lib -lcoredll
CFLAGS    := -S -I/cygdrive/c/Programme/mingw32ce/arm-mingw32ce/include

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

Note:  You can also use Windows path-style instead of the POSIX path-style, 
 but in this case, the compiler will always print a warning-message to  the 
console and that's quite annoying.


>         
> -------- Original-Nachricht --------
> Datum: Thu, 16 Dec 2010 07:04:47 +0100 (CET)
> Von: Vincent Torri <vto...@univ-evry.fr>
> An: "Stefan Partheymüller" <stefan-partheymuel...@gmx.de>
> CC: cegcc-devel@lists.sourceforge.net
> Betreff: Re: [Cegcc-devel] CeGCC for Windows (without bein forced to use 
> cygwin)
> 
>         
> 
> On Tue, 14 Dec 2010, "Stefan Partheymüller" wrote:
> 
> > Hello,
> >
> > is it possible to use CeGCC under Windows without having Cygwin 
> installed
> > but MinGW?
> > Because I don't really want to use Cygwin, it's too complicated, in my
> > opinion.
> > I  know that CeGCC is also available for some other platforms, but the
> > only two which I know that works under Windows is the Cygwin-Package 
> and
> > the x86-Package.
> > Everything else is for Linux / Unix I guess, because the executables 
> don't
> > have any extensions.
> > CeGCC bases on MinGW so, it should work for me, but expectedly I need a 
> few
> > Cygwin DLL files. Additionally I'll need Cygwins Bash, because the 
> CeGCC
> > executables use the same path system as Cygwin does.
> > If I try to compile some code the arm-mingw32ce-gcc fails to find cc1, 
> even
> > if I copy it into the bin directory, which holds arm-mingw32ce-gcc
> > executable.
> > So, I need the whole Cygwin system, but is there any workaround?
> >
> > Is the only way to compile the source of CeGCC with MinGW?
> > But unfortunately building such complex things might be too hard for 
> me.
 

> I tried once to use only MinGW to build CeGCC, but failed, and no real 
> support from the devs. Anyway, I gave up as my projects use autotools and 
> using autotools with MSYS is too slow (6 or 7 times slower than on 
> Linux). 
> So I just cross compile on Linux. Quite faster.
>  
Well, I read this post: 
http://www.mail-archive.com/cegcc-devel@lists.sourceforge.net/msg02673.html
but unfotunately, the link, which should hold the binaries is dead...

>  
> regards
> 
> Vincent Torri
 
Regards
Stefan Partheymüller    
-- 
GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt auch mit 
gratis Notebook-Flat! http://portal.gmx.net/de/go/dsl
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to