Quantcast

CeGCC for Windows (without bein forced to use cygwin)

classic Classic list List threaded Threaded
23 messages Options
12
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

CeGCC for Windows (without bein forced to use cygwin)

"Stefan Partheymüller"
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.

Regards
Stefan Partheymüller



--
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: CeGCC for Windows (without bein forced to use cygwin)

Vincent Torri


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.

regards

Vincent Torri
------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: CeGCC for Windows (without bein forced to use cygwin)

Sébastien Lorquet
I got the gcc 4.1 version of the whole arm-mingw32ce-gcc toolchain cross compiled from linux, you just need to add the proper HOST in the build scripts, and have a mingw version of gmp/mpfr. This one also cross builds fine from linux.

The resulting toolchain worked fine.

however gcc 4.4 fails and I didn't try the arm-cegcc-gcc version.

Regards
Sebastien


On Thu, Dec 16, 2010 at 7:04 AM, Vincent Torri <[hidden email]> wrote:


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.

regards

Vincent Torri

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel



------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: CeGCC for Windows (without bein forced to use cygwin)

"Stefan Partheymüller"
In reply to this post by "Stefan Partheymüller"
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 <vtorri@...>
An: "Stefan Partheymüller" <stefan-partheymueller@...>
CC: cegcc-devel@...
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@.../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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: CeGCC for Windows (without bein forced to use cygwin)

"Stefan Partheymüller"
In reply to this post by "Stefan Partheymüller"
So, could you please upload the cross build somhow.
You compiled it under Linux, but it was a cross build, so I can also use it under Windows?

I got the gcc 4.1 version of the whole arm-mingw32ce-gcc toolchain cross
compiled from linux, you just need to add the proper HOST in the build
scripts, and have a mingw version of gmp/mpfr. This one also cross builds
fine from linux.

The resulting toolchain worked fine.

however gcc 4.4 fails and I didn't try the arm-cegcc-gcc version.

Regards
Sebastien

Regards
Stefan Partheymüller



--
GRATIS! Movie-FLAT mit über 300 Videos.
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: CeGCC for Windows (without bein forced to use cygwin)

Sébastien Lorquet
Hi

I noticed that our next exchanges did not make it to the list because
of the bad handling of lists reply-to by gmail (Harald Welte explained
to me that it's a desirable feature, but I always forget to
reply-to-all :-) )

Let's fix it.

====================================================================

here are new steps to build mingw32ce for windows from debian.

get code

cd $HOME
mkdir cegcc
cd cegcc
svn co https://cegcc.svn.sourceforge.net/svnroot/cegcc/trunk cegcc-src
wget ftp://ftp.gmplib.org/pub/gmp-4.3.1/gmp-4.3.1.tar.gz
wget http://www.mpfr.org/mpfr-2.4.1/mpfr-2.4.1.tar.gz
tar zxvf gmp-4.3.1.tar.gz
tar zxvf mpfr-2.4.1.tar.gz

patch code

Here is what you must change in the mingw32ce build script
Basically this deals with passing the proper gmp/mpfr options to the
gcc configure script. This might be achievable by other means, e.g.
environment.

svn diff:

---8<---
Index: build-mingw32ce.sh
===================================================================
--- build-mingw32ce.sh  (revision 1449)
+++ build-mingw32ce.sh  (working copy)
@@ -49,12 +49,17 @@
  --components=LIST       specify which components to build
                          valid components are: ${COMPONENTS_COMMA_LIST}
                         [all]
+  --gmp=DIR               path to GMP library
+  --mpfr=DIR              path to MPFR library

 Report bugs to <[hidden email]>.
 _ACEOF

 }

+lib_gmp=
+lib_mpfr=
+
 ac_prev=
 for ac_option
 do
@@ -97,6 +102,12 @@
      | --co=* | --c=*)
    components=$ac_optarg ;;

+  --gmp=*)
+    lib_gmp=$ac_optarg ;;
+
+  --mpfr=*)
+    lib_mpfr=$ac_optarg ;;
+
  --host)
    ac_prev=host ;;
  --host=*)
@@ -179,6 +190,16 @@
       exit 1
 fi

+#compute the options for gmp and mpfr
+
+GCCDEPS=
+if [ "x${lib_gmp}" != "x" ]; then
+    GCCDEPS="--with-gmp=${lib_gmp}"
+fi
+if [ "x${lib_gmp}" != "x" ]; then
+    GCCDEPS="${GCCDEPS} --with-mpfr=${lib_mpfr}"
+fi
+
 build_binutils()
 {
    echo ""
@@ -209,6 +230,7 @@
       --with-gcc                     \
       --with-gnu-ld                  \
       --with-gnu-as                  \
+       ${GCCDEPS} \
       --target=${TARGET}             \
       --build=${BUILD}               \
       --host=${HOST}                 \
@@ -314,6 +336,7 @@
            --target=${TARGET}             \
            --host=${HOST}                 \
            --prefix=${PREFIX}             \
+       ${GCCDEPS} \
            --enable-threads=win32         \
            --disable-nls                  \
            --enable-languages=c,c++       \
@@ -333,6 +356,7 @@
            --target=${TARGET}             \
            --host=${HOST}                 \
            --prefix=${PREFIX}             \
+       ${GCCDEPS} \
            --enable-threads=win32         \
            --disable-nls                  \
            --enable-languages=c,c++       \
---8<---

now we're ready to go.

First step is to build a linux mingw32ce, to allow building the target
libs (build=host=linux, target=arm-wince-pe)

we need some dependencies - you may have them in apt-get, I recompiled
to get the same versions as what the final compiler has

mkdir depends-linux
mkdir gmp-linux
cd gmp-linux
../gmp-4.3.1/configure --prefix=`cd ../depends-linux; pwd`
make
make install
cd ..

mkdir mpfr-linux
cd mpfr-linux
../mpfr-2.4.1/configure --prefix=`cd ../depends-linux; pwd`
--with-gmp=`cd ../depends-linux; pwd`
make
make install
cd ..

build the compiler and install e.g. to /opt/mingw32ce
(target=arm-wince-pe, build=host=linux)
This will NOT WORK if you do not set gcc_src=gcc, I don't know what's
the problem with gcc 4.4 (you can try, though)

mkdir build-linux
cd build-linux
sudo gcc_src=gcc
../cegcc-src/cegcc/src/scripts/build/build-minw32ce.sh
--prefix=/opt/mingw32ce --gmp=`cd ../depends-linux;pwd` --mpfr=`cd
../depends-linux;pwd`
cd ..

Second step is to cross build the win32 compiler

install mingw for linux -- or build it, if you prefer...
sudo apt-get install mingw32

the compiler prefix is i586-mingw32msvc-

crossbuild dependencies for windows host (build is linux, host is
windows, target has no sense (same as host))

mkdir depends-win
mkdir gmp-win
cd gmp-win
../gmp-4.3.1/configure --host=i586-mingw32msvc --prefix=`cd ../depends-win; pwd`
make
make install
cd ..

mkdir mpfr-win
cd mpfr-win
../mpfr-2.4.1/configure --host=i586-mingw32msvc  --prefix=`cd
../depends-win; pwd` --with-gmp=`cd ../depends-win; pwd`
make
make install
cd ..

build cegcc for windows: build=linux, host=windows, target=arm-wince-pe
the linux version of the compiler needs to be in the path to build the
target libs!
Do not forget to update PATH or the build will fail, of course.

mkdir INSTALL
mkdir build-win
cd build-win
PATH=/opt/mingw32ce/bin:$PATH
export PATH
gcc_src=gcc ../cegcc-src/cegcc/src/scripts/build-mingw32ce.sh
--prefix=`cd ../INSTALL;pwd` --host=i586-mingw32msvc --gmp=`cd
../depends-win;pwd` --mpfr=`cd ../depends-win;pwd`
make
make install

And here you have a nice arm-wince-pe toolchain for mingw!

I'd like some feedback on this process. That's why I'm not posting
binaries yet. I want someone else to test that, to check wether that's
ok or not.

Sebastien

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: CeGCC for Windows (without bein forced to use cygwin)

Sébastien Lorquet
Hello,

any success with my instructions, or is everyone (including me) too
busy eating chocolate? :-)

BTW, Merry Christmas and Happy new year to all. There are few chances
that I'll post here on Dec 24.

Sebastien

On Fri, Dec 17, 2010 at 8:09 PM, Sébastien Lorquet <[hidden email]> wrote:

> Hi
>
> I noticed that our next exchanges did not make it to the list because
> of the bad handling of lists reply-to by gmail (Harald Welte explained
> to me that it's a desirable feature, but I always forget to
> reply-to-all :-) )
>
> Let's fix it.
>
> ====================================================================
>
> here are new steps to build mingw32ce for windows from debian.
>
> get code
>
> cd $HOME
> mkdir cegcc
> cd cegcc
> svn co https://cegcc.svn.sourceforge.net/svnroot/cegcc/trunk cegcc-src
> wget ftp://ftp.gmplib.org/pub/gmp-4.3.1/gmp-4.3.1.tar.gz
> wget http://www.mpfr.org/mpfr-2.4.1/mpfr-2.4.1.tar.gz
> tar zxvf gmp-4.3.1.tar.gz
> tar zxvf mpfr-2.4.1.tar.gz
>
> patch code
>
> Here is what you must change in the mingw32ce build script
> Basically this deals with passing the proper gmp/mpfr options to the
> gcc configure script. This might be achievable by other means, e.g.
> environment.
>
> svn diff:
>
> ---8<---
> Index: build-mingw32ce.sh
> ===================================================================
> --- build-mingw32ce.sh  (revision 1449)
> +++ build-mingw32ce.sh  (working copy)
> @@ -49,12 +49,17 @@
>  --components=LIST       specify which components to build
>                          valid components are: ${COMPONENTS_COMMA_LIST}
>                         [all]
> +  --gmp=DIR               path to GMP library
> +  --mpfr=DIR              path to MPFR library
>
>  Report bugs to <[hidden email]>.
>  _ACEOF
>
>  }
>
> +lib_gmp=
> +lib_mpfr=
> +
>  ac_prev=
>  for ac_option
>  do
> @@ -97,6 +102,12 @@
>      | --co=* | --c=*)
>    components=$ac_optarg ;;
>
> +  --gmp=*)
> +    lib_gmp=$ac_optarg ;;
> +
> +  --mpfr=*)
> +    lib_mpfr=$ac_optarg ;;
> +
>  --host)
>    ac_prev=host ;;
>  --host=*)
> @@ -179,6 +190,16 @@
>       exit 1
>  fi
>
> +#compute the options for gmp and mpfr
> +
> +GCCDEPS=
> +if [ "x${lib_gmp}" != "x" ]; then
> +    GCCDEPS="--with-gmp=${lib_gmp}"
> +fi
> +if [ "x${lib_gmp}" != "x" ]; then
> +    GCCDEPS="${GCCDEPS} --with-mpfr=${lib_mpfr}"
> +fi
> +
>  build_binutils()
>  {
>    echo ""
> @@ -209,6 +230,7 @@
>       --with-gcc                     \
>       --with-gnu-ld                  \
>       --with-gnu-as                  \
> +       ${GCCDEPS} \
>       --target=${TARGET}             \
>       --build=${BUILD}               \
>       --host=${HOST}                 \
> @@ -314,6 +336,7 @@
>            --target=${TARGET}             \
>            --host=${HOST}                 \
>            --prefix=${PREFIX}             \
> +       ${GCCDEPS} \
>            --enable-threads=win32         \
>            --disable-nls                  \
>            --enable-languages=c,c++       \
> @@ -333,6 +356,7 @@
>            --target=${TARGET}             \
>            --host=${HOST}                 \
>            --prefix=${PREFIX}             \
> +       ${GCCDEPS} \
>            --enable-threads=win32         \
>            --disable-nls                  \
>            --enable-languages=c,c++       \
> ---8<---
>
> now we're ready to go.
>
> First step is to build a linux mingw32ce, to allow building the target
> libs (build=host=linux, target=arm-wince-pe)
>
> we need some dependencies - you may have them in apt-get, I recompiled
> to get the same versions as what the final compiler has
>
> mkdir depends-linux
> mkdir gmp-linux
> cd gmp-linux
> ../gmp-4.3.1/configure --prefix=`cd ../depends-linux; pwd`
> make
> make install
> cd ..
>
> mkdir mpfr-linux
> cd mpfr-linux
> ../mpfr-2.4.1/configure --prefix=`cd ../depends-linux; pwd`
> --with-gmp=`cd ../depends-linux; pwd`
> make
> make install
> cd ..
>
> build the compiler and install e.g. to /opt/mingw32ce
> (target=arm-wince-pe, build=host=linux)
> This will NOT WORK if you do not set gcc_src=gcc, I don't know what's
> the problem with gcc 4.4 (you can try, though)
>
> mkdir build-linux
> cd build-linux
> sudo gcc_src=gcc
> ../cegcc-src/cegcc/src/scripts/build/build-minw32ce.sh
> --prefix=/opt/mingw32ce --gmp=`cd ../depends-linux;pwd` --mpfr=`cd
> ../depends-linux;pwd`
> cd ..
>
> Second step is to cross build the win32 compiler
>
> install mingw for linux -- or build it, if you prefer...
> sudo apt-get install mingw32
>
> the compiler prefix is i586-mingw32msvc-
>
> crossbuild dependencies for windows host (build is linux, host is
> windows, target has no sense (same as host))
>
> mkdir depends-win
> mkdir gmp-win
> cd gmp-win
> ../gmp-4.3.1/configure --host=i586-mingw32msvc --prefix=`cd ../depends-win; pwd`
> make
> make install
> cd ..
>
> mkdir mpfr-win
> cd mpfr-win
> ../mpfr-2.4.1/configure --host=i586-mingw32msvc  --prefix=`cd
> ../depends-win; pwd` --with-gmp=`cd ../depends-win; pwd`
> make
> make install
> cd ..
>
> build cegcc for windows: build=linux, host=windows, target=arm-wince-pe
> the linux version of the compiler needs to be in the path to build the
> target libs!
> Do not forget to update PATH or the build will fail, of course.
>
> mkdir INSTALL
> mkdir build-win
> cd build-win
> PATH=/opt/mingw32ce/bin:$PATH
> export PATH
> gcc_src=gcc ../cegcc-src/cegcc/src/scripts/build-mingw32ce.sh
> --prefix=`cd ../INSTALL;pwd` --host=i586-mingw32msvc --gmp=`cd
> ../depends-win;pwd` --mpfr=`cd ../depends-win;pwd`
> make
> make install
>
> And here you have a nice arm-wince-pe toolchain for mingw!
>
> I'd like some feedback on this process. That's why I'm not posting
> binaries yet. I want someone else to test that, to check wether that's
> ok or not.
>
> Sebastien
>

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: CeGCC for Windows (without bein forced to use cygwin)

Vincent Torri


On Thu, 23 Dec 2010, Sébastien Lorquet wrote:

> Hello,
>
> any success with my instructions, or is everyone (including me) too
> busy eating chocolate? :-)

too busy :p Honestly, the compilation is a lot faster on linux than with
MSYS/MinGW

Vincent

>
> BTW, Merry Christmas and Happy new year to all. There are few chances
> that I'll post here on Dec 24.
>
> Sebastien
>
> On Fri, Dec 17, 2010 at 8:09 PM, Sébastien Lorquet <[hidden email]> wrote:
>> Hi
>>
>> I noticed that our next exchanges did not make it to the list because
>> of the bad handling of lists reply-to by gmail (Harald Welte explained
>> to me that it's a desirable feature, but I always forget to
>> reply-to-all :-) )
>>
>> Let's fix it.
>>
>> ====================================================================
>>
>> here are new steps to build mingw32ce for windows from debian.
>>
>> get code
>>
>> cd $HOME
>> mkdir cegcc
>> cd cegcc
>> svn co https://cegcc.svn.sourceforge.net/svnroot/cegcc/trunk cegcc-src
>> wget ftp://ftp.gmplib.org/pub/gmp-4.3.1/gmp-4.3.1.tar.gz
>> wget http://www.mpfr.org/mpfr-2.4.1/mpfr-2.4.1.tar.gz
>> tar zxvf gmp-4.3.1.tar.gz
>> tar zxvf mpfr-2.4.1.tar.gz
>>
>> patch code
>>
>> Here is what you must change in the mingw32ce build script
>> Basically this deals with passing the proper gmp/mpfr options to the
>> gcc configure script. This might be achievable by other means, e.g.
>> environment.
>>
>> svn diff:
>>
>> ---8<---
>> Index: build-mingw32ce.sh
>> ===================================================================
>> --- build-mingw32ce.sh  (revision 1449)
>> +++ build-mingw32ce.sh  (working copy)
>> @@ -49,12 +49,17 @@
>>  --components=LIST       specify which components to build
>>                          valid components are: ${COMPONENTS_COMMA_LIST}
>>                         [all]
>> +  --gmp=DIR               path to GMP library
>> +  --mpfr=DIR              path to MPFR library
>>
>>  Report bugs to <[hidden email]>.
>>  _ACEOF
>>
>>  }
>>
>> +lib_gmp=
>> +lib_mpfr=
>> +
>>  ac_prev=
>>  for ac_option
>>  do
>> @@ -97,6 +102,12 @@
>>      | --co=* | --c=*)
>>    components=$ac_optarg ;;
>>
>> +  --gmp=*)
>> +    lib_gmp=$ac_optarg ;;
>> +
>> +  --mpfr=*)
>> +    lib_mpfr=$ac_optarg ;;
>> +
>>  --host)
>>    ac_prev=host ;;
>>  --host=*)
>> @@ -179,6 +190,16 @@
>>       exit 1
>>  fi
>>
>> +#compute the options for gmp and mpfr
>> +
>> +GCCDEPS=
>> +if [ "x${lib_gmp}" != "x" ]; then
>> +    GCCDEPS="--with-gmp=${lib_gmp}"
>> +fi
>> +if [ "x${lib_gmp}" != "x" ]; then
>> +    GCCDEPS="${GCCDEPS} --with-mpfr=${lib_mpfr}"
>> +fi
>> +
>>  build_binutils()
>>  {
>>    echo ""
>> @@ -209,6 +230,7 @@
>>       --with-gcc                     \
>>       --with-gnu-ld                  \
>>       --with-gnu-as                  \
>> +       ${GCCDEPS} \
>>       --target=${TARGET}             \
>>       --build=${BUILD}               \
>>       --host=${HOST}                 \
>> @@ -314,6 +336,7 @@
>>            --target=${TARGET}             \
>>            --host=${HOST}                 \
>>            --prefix=${PREFIX}             \
>> +       ${GCCDEPS} \
>>            --enable-threads=win32         \
>>            --disable-nls                  \
>>            --enable-languages=c,c++       \
>> @@ -333,6 +356,7 @@
>>            --target=${TARGET}             \
>>            --host=${HOST}                 \
>>            --prefix=${PREFIX}             \
>> +       ${GCCDEPS} \
>>            --enable-threads=win32         \
>>            --disable-nls                  \
>>            --enable-languages=c,c++       \
>> ---8<---
>>
>> now we're ready to go.
>>
>> First step is to build a linux mingw32ce, to allow building the target
>> libs (build=host=linux, target=arm-wince-pe)
>>
>> we need some dependencies - you may have them in apt-get, I recompiled
>> to get the same versions as what the final compiler has
>>
>> mkdir depends-linux
>> mkdir gmp-linux
>> cd gmp-linux
>> ../gmp-4.3.1/configure --prefix=`cd ../depends-linux; pwd`
>> make
>> make install
>> cd ..
>>
>> mkdir mpfr-linux
>> cd mpfr-linux
>> ../mpfr-2.4.1/configure --prefix=`cd ../depends-linux; pwd`
>> --with-gmp=`cd ../depends-linux; pwd`
>> make
>> make install
>> cd ..
>>
>> build the compiler and install e.g. to /opt/mingw32ce
>> (target=arm-wince-pe, build=host=linux)
>> This will NOT WORK if you do not set gcc_src=gcc, I don't know what's
>> the problem with gcc 4.4 (you can try, though)
>>
>> mkdir build-linux
>> cd build-linux
>> sudo gcc_src=gcc
>> ../cegcc-src/cegcc/src/scripts/build/build-minw32ce.sh
>> --prefix=/opt/mingw32ce --gmp=`cd ../depends-linux;pwd` --mpfr=`cd
>> ../depends-linux;pwd`
>> cd ..
>>
>> Second step is to cross build the win32 compiler
>>
>> install mingw for linux -- or build it, if you prefer...
>> sudo apt-get install mingw32
>>
>> the compiler prefix is i586-mingw32msvc-
>>
>> crossbuild dependencies for windows host (build is linux, host is
>> windows, target has no sense (same as host))
>>
>> mkdir depends-win
>> mkdir gmp-win
>> cd gmp-win
>> ../gmp-4.3.1/configure --host=i586-mingw32msvc --prefix=`cd ../depends-win; pwd`
>> make
>> make install
>> cd ..
>>
>> mkdir mpfr-win
>> cd mpfr-win
>> ../mpfr-2.4.1/configure --host=i586-mingw32msvc  --prefix=`cd
>> ../depends-win; pwd` --with-gmp=`cd ../depends-win; pwd`
>> make
>> make install
>> cd ..
>>
>> build cegcc for windows: build=linux, host=windows, target=arm-wince-pe
>> the linux version of the compiler needs to be in the path to build the
>> target libs!
>> Do not forget to update PATH or the build will fail, of course.
>>
>> mkdir INSTALL
>> mkdir build-win
>> cd build-win
>> PATH=/opt/mingw32ce/bin:$PATH
>> export PATH
>> gcc_src=gcc ../cegcc-src/cegcc/src/scripts/build-mingw32ce.sh
>> --prefix=`cd ../INSTALL;pwd` --host=i586-mingw32msvc --gmp=`cd
>> ../depends-win;pwd` --mpfr=`cd ../depends-win;pwd`
>> make
>> make install
>>
>> And here you have a nice arm-wince-pe toolchain for mingw!
>>
>> I'd like some feedback on this process. That's why I'm not posting
>> binaries yet. I want someone else to test that, to check wether that's
>> ok or not.
>>
>> Sebastien
>>
>
> ------------------------------------------------------------------------------
> 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
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/cegcc-devel
>
>
------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: CeGCC for Windows (without bein forced to use cygwin)

"Stefan Partheymüller"
In reply to this post by "Stefan Partheymüller"
> On Thu, 23 Dec 2010, Sébastien Lorquet wrote:

>> Hello,
>>
>> any success with my instructions, or is everyone (including me) too
>> busy eating chocolate? :-)

> too busy :p Honestly, the compilation is a lot faster on linux than with
> MSYS/MinGW

> Vincent


Yes, unfortunately me too.
But I will find time soon i hope.

Marry Christmas and a happy new year you, too ;)


>>
>> BTW, Merry Christmas and Happy new year to all. There are few chances
>> that I'll post here on Dec 24.
>>
>> Sebastien
>>
>> On Fri, Dec 17, 2010 at 8:09 PM, Sébastien Lorquet <[hidden email]> wrote:
>>> Hi
>>>
>>> I noticed that our next exchanges did not make it to the list because
>>> of the bad handling of lists reply-to by gmail (Harald Welte explained
>>> to me that it's a desirable feature, but I always forget to
>>> reply-to-all :-) )
>>>
>>> Let's fix it.
>>>
><> ====================================================================
>>>
>>> here are new steps to build mingw32ce for windows from debian.
>>>
>>> get code
>>>
>>> cd $HOME
>>> mkdir cegcc
>>> cd cegcc
>>> svn co https://cegcc.svn.sourceforge.net/svnroot/cegcc/trunk cegcc-src
>>> wget ftp://ftp.gmplib.org/pub/gmp-4.3.1/gmp-4.3.1.tar.gz
>>> wget http://www.mpfr.org/mpfr-2.4.1/mpfr-2.4.1.tar.gz
>>> tar zxvf gmp-4.3.1.tar.gz
>>> tar zxvf mpfr-2.4.1.tar.gz
>>>
>>> patch code
>>>
>>> Here is what you must change in the mingw32ce build script
>>> Basically this deals with passing the proper gmp/mpfr options to the
>>> gcc configure script. This might be achievable by other means, e.g.
>>> environment.
>>>
>>> svn diff:
>>>
><> ---8<---
>>> Index: build-mingw32ce.sh
>>> ===================================================================
>>> --- build-mingw32ce.sh  (revision 1449)
>>> +++ build-mingw32ce.sh  (working copy)
>>> @@ -49,12 +49,17 @@
>>>  --components=LIST       specify which components to build
>>>                          valid components are: ${COMPONENTS_COMMA_LIST}
>>>                         [all]
>>> +  --gmp=DIR               path to GMP library
>>> +  --mpfr=DIR              path to MPFR library
>>>
>>>  Report bugs to <[hidden email]>.
>>>  _ACEOF
>>>
>>>  }
>>>
>>> +lib_gmp=
>>> +lib_mpfr=
>>> +
>>>  ac_prev=
>>>  for ac_option
>>>  do
>>> @@ -97,6 +102,12 @@
>>>      | --co=* | --c=*)
>>>    components=$ac_optarg ;;
>>>
>>> +  --gmp=*)
>>> +    lib_gmp=$ac_optarg ;;
>>> +
>>> +  --mpfr=*)
>>> +    lib_mpfr=$ac_optarg ;;
>>> +
>>>  --host)
>>>    ac_prev=host ;;
>>>  --host=*)
>>> @@ -179,6 +190,16 @@
>>>       exit 1
>>>  fi
>>>
>>> +#compute the options for gmp and mpfr
>>> +
>>> +GCCDEPS=
>>> +if [ "x${lib_gmp}" != "x" ]; then
>>> +    GCCDEPS="--with-gmp=${lib_gmp}"
>>> +fi
>>> +if [ "x${lib_gmp}" != "x" ]; then
>>> +    GCCDEPS="${GCCDEPS} --with-mpfr=${lib_mpfr}"
>>> +fi
>>> +
>>>  build_binutils()
>>>  {
>>>    echo ""
>>> @@ -209,6 +230,7 @@
>>>       --with-gcc                     \
>>>       --with-gnu-ld                  \
>>>       --with-gnu-as                  \
>>> +       ${GCCDEPS} \
>>>       --target=${TARGET}             \
>>>       --build=${BUILD}               \
>>>       --host=${HOST}                 \
>>> @@ -314,6 +336,7 @@
>>>            --target=${TARGET}             \
>>>            --host=${HOST}                 \
>>>            --prefix=${PREFIX}             \
>>> +       ${GCCDEPS} \
>>>            --enable-threads=win32         \
>>>            --disable-nls                  \
>>>            --enable-languages=c,c++       \
>>> @@ -333,6 +356,7 @@
>>>            --target=${TARGET}             \
>>>            --host=${HOST}                 \
>>>            --prefix=${PREFIX}             \
>>> +       ${GCCDEPS} \
>>>            --enable-threads=win32         \
>>>            --disable-nls                  \
>>>            --enable-languages=c,c++       \
>>> ---8<---
>>>
>>> now we're ready to go.
>>>
>>> First step is to build a linux mingw32ce, to allow building the target
>>> libs (build=host=linux, target=arm-wince-pe)
>>>
>>> we need some dependencies - you may have them in apt-get, I recompiled
>>> to get the same versions as what the final compiler has
>>>
>>> mkdir depends-linux
>>> mkdir gmp-linux
>>> cd gmp-linux
>>> ../gmp-4.3.1/configure --prefix=`cd ../depends-linux; pwd`
>>> make
>>> make install
>>> cd ..
>>>
>>> mkdir mpfr-linux
>>> cd mpfr-linux
>>> ../mpfr-2.4.1/configure --prefix=`cd ../depends-linux; pwd`
>>> --with-gmp=`cd ../depends-linux; pwd`
>>> make
>>> make install
>>> cd ..
>>>
>>> build the compiler and install e.g. to /opt/mingw32ce
>>> (target=arm-wince-pe, build=host=linux)
>>> This will NOT WORK if you do not set gcc_src=gcc, I don't know what's
>>> the problem with gcc 4.4 (you can try, though)
>>>
>>> mkdir build-linux
>>> cd build-linux
>>> sudo gcc_src=gcc
>>> ../cegcc-src/cegcc/src/scripts/build/build-minw32ce.sh
>>> --prefix=/opt/mingw32ce --gmp=`cd ../depends-linux;pwd` --mpfr=`cd
>>> ../depends-linux;pwd`
>>> cd ..
>>>
>>> Second step is to cross build the win32 compiler
>>>
>>> install mingw for linux -- or build it, if you prefer...
>>> sudo apt-get install mingw32
>>>
>>> the compiler prefix is i586-mingw32msvc-
>>>
>>> crossbuild dependencies for windows host (build is linux, host is
>>> windows, target has no sense (same as host))
>>>
>>> mkdir depends-win
>>> mkdir gmp-win
>>> cd gmp-win
>>> ../gmp-4.3.1/configure --host=i586-mingw32msvc --prefix=`cd ../depends-win; pwd`
>>> make
>>> make install
>>> cd ..
>>>
>>> mkdir mpfr-win
>>> cd mpfr-win
>>> ../mpfr-2.4.1/configure --host=i586-mingw32msvc  --prefix=`cd
>>> ../depends-win; pwd` --with-gmp=`cd ../depends-win; pwd`
>>> make
>>> make install
>>> cd ..
>>>
>>> build cegcc for windows: build=linux, host=windows, target=arm-wince-pe
>>> the linux version of the compiler needs to be in the path to build the
>>> target libs!
>>> Do not forget to update PATH or the build will fail, of course.
>>>
>>> mkdir INSTALL
>>> mkdir build-win
>>> cd build-win
>>> PATH=/opt/mingw32ce/bin:$PATH
>>> export PATH
>>> gcc_src=gcc ../cegcc-src/cegcc/src/scripts/build-mingw32ce.sh
>>> --prefix=`cd ../INSTALL;pwd` --host=i586-mingw32msvc --gmp=`cd
>>> ../depends-win;pwd` --mpfr=`cd ../depends-win;pwd`
>>> make
>>> make install
>>>
>>> And here you have a nice arm-wince-pe toolchain for mingw!
>>>
>>> I'd like some feedback on this process. That's why I'm not posting
>>> binaries yet. I want someone else to test that, to check wether that's
>>> ok or not.
>>>
>>> Sebastien
>>>
>>
>> ------------------------------------------------------------------------------
>> 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
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/cegcc-devel
>>
>>




--
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: CeGCC for Windows (without bein forced to use cygwin)

"Stefan Partheymüller"
In reply to this post by "Stefan Partheymüller"
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: CeGCC for Windows (without bein forced to use cygwin)

Sébastien Lorquet
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"
<[hidden email]> 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
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/cegcc-devel
>
>

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

build-mingw32ce.sh (18K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: CeGCC for Windows (without bein forced to use cygwin)

"Stefan Partheymüller"
Hi,

Thank you so much!
I will try both, the binary snapshot and my own build ( If I am able to manage this ;-) ) with your build script.

Regards
Stefan Partheymüller

-------- Original-Nachricht --------
Datum: Tue, 28 Dec 2010 11:06:21 +0100
Von: "Sébastien Lorquet" <[hidden email]>
An: [hidden email]
CC: "Stefan Partheymüller" <[hidden email]>
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"
<[hidden email]> 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
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/cegcc-devel
>
>



--
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: CeGCC for Windows (without bein forced to use cygwin)

"Stefan Partheymüller"
In reply to this post by "Stefan Partheymüller"

-------- Original-Nachricht --------
Datum: Tue, 28 Dec 2010 13:50:42 +0100
Von: "Stefan Partheymüller" <[hidden email]>
An: "Sébastien Lorquet" <[hidden email]>
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)

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" <squalyl@...>
An: cegcc-devel@...
CC: "Stefan Partheymüller" <stefan-partheymueller@...>
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"
<[hidden email]> 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
> [hidden email]
> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: CeGCC for Windows (without bein forced to use cygwin)

Sébastien Lorquet
Hello,

Sorry, this is beyond my abilities.

In my tests, I was using code::blocks and I did not encounter this problem :(

Regards
Sebastien

On Tue, Dec 28, 2010 at 1:54 PM, "Stefan Partheymüller"
<[hidden email]> wrote:

>
> -------- Original-Nachricht --------
> Datum: Tue, 28 Dec 2010 13:50:42 +0100
> Von: "Stefan Partheymüller" <[hidden email]>
>
> An: "Sébastien Lorquet" <[hidden email]>
> 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)
>
> 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" <[hidden email]>
> An: [hidden email]
> CC: "Stefan Partheymüller" <[hidden email]>
> 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"
> <[hidden email]> 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
>> [hidden email]
>> 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
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/cegcc-devel
>
>

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: CeGCC for Windows (without bein forced to use cygwin)

"Stefan Partheymüller"
Hi,

sorry, I was obviously too dumb :-)
Now it works awesome.
I didn't know, that I need the libstdc++-6.dll to run the programm.
anyway, now it works perfect, thank you so much.

But I can swear, in the first tests the compiler didn't know where to search for the libraries and the include files. Anyway, now it works!

Regards
Stefan Partheymüller

-------- Original-Nachricht --------
Datum: Tue, 28 Dec 2010 14:03:13 +0100
Von: "Sébastien Lorquet" <[hidden email]>
An: "Stefan Partheymüller" <[hidden email]>
CC: [hidden email]
Betreff: Re: [Cegcc-devel] CeGCC for Windows (without bein forced to use cygwin)

Hello,

Sorry, this is beyond my abilities.

In my tests, I was using code::blocks and I did not encounter this problem :(

Regards
Sebastien

On Tue, Dec 28, 2010 at 1:54 PM, "Stefan Partheymüller"
<[hidden email]> wrote:

>
> -------- Original-Nachricht --------
> Datum: Tue, 28 Dec 2010 13:50:42 +0100
> Von: "Stefan Partheymüller" <[hidden email]>
>
> An: "Sébastien Lorquet" <[hidden email]>
> 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)
>
> 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" <[hidden email]>
> An: [hidden email]
> CC: "Stefan Partheymüller" <[hidden email]>
> 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"
> <[hidden email]> 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
>> [hidden email]
>> 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
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/cegcc-devel
>
>



--
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: CeGCC for Windows (without bein forced to use cygwin)

Jacek M. Holeczek
Hi,
sorry, but if you use "mingw32ce-g++" compiler, you should NOT need
"libstdc++-6.dll".
Only if you use "cegcc-g++" to compile/link you will need this dll.
Jacek.

On Tue, Dec 28, 2010 at 2:12 PM, "Stefan Partheymüller"
<[hidden email]> wrote:

> Hi,
>
> sorry, I was obviously too dumb :-)
> Now it works awesome.
> I didn't know, that I need the libstdc++-6.dll to run the programm.
> anyway, now it works perfect, thank you so much.
>
> But I can swear, in the first tests the compiler didn't know where to search
> for the libraries and the include files. Anyway, now it works!
>
> Regards
> Stefan Partheymüller
>
> -------- Original-Nachricht --------
> Datum: Tue, 28 Dec 2010 14:03:13 +0100
>
> Von: "Sébastien Lorquet" <[hidden email]>
> An: "Stefan Partheymüller" <[hidden email]>
> CC: [hidden email]
> Betreff: Re: [Cegcc-devel] CeGCC for Windows (without bein forced to use
> cygwin)
>
> Hello,
>
> Sorry, this is beyond my abilities.
>
> In my tests, I was using code::blocks and I did not encounter this problem
> :(
>
> Regards
> Sebastien
>
> On Tue, Dec 28, 2010 at 1:54 PM, "Stefan Partheymüller"
> <[hidden email]> wrote:
>>
>> -------- Original-Nachricht --------
>> Datum: Tue, 28 Dec 2010 13:50:42 +0100
>> Von: "Stefan Partheymüller" <[hidden email]>
>>
>> An: "Sébastien Lorquet" <[hidden email]>
>> 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)
>>
>> 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" <[hidden email]>
>> An: [hidden email]
>> CC: "Stefan Partheymüller" <[hidden email]>
>> 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"
>> <[hidden email]> 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
>>> [hidden email]
>>> 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
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/cegcc-devel
>>
>>
>
>
>
> --
> 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
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/cegcc-devel
>
>

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: CeGCC for Windows (without bein forced to use cygwin)

Danny Backx
With mingw32ce you will not need the cegcc library, but if you use C++
then you do need the libstdc++ either in DLL or in statically linked
form.

        Danny

On Tue, 2010-12-28 at 15:05 +0100, Jacek M. Holeczek wrote:

> Hi,
> sorry, but if you use "mingw32ce-g++" compiler, you should NOT need
> "libstdc++-6.dll".
> Only if you use "cegcc-g++" to compile/link you will need this dll.
> Jacek.
>
> On Tue, Dec 28, 2010 at 2:12 PM, "Stefan Partheymüller"
> <[hidden email]> wrote:
> > Hi,
> >
> > sorry, I was obviously too dumb :-)
> > Now it works awesome.
> > I didn't know, that I need the libstdc++-6.dll to run the programm.
> > anyway, now it works perfect, thank you so much.
> >
> > But I can swear, in the first tests the compiler didn't know where to search
> > for the libraries and the include files. Anyway, now it works!
> >
> > Regards
> > Stefan Partheymüller
> >
> > -------- Original-Nachricht --------
> > Datum: Tue, 28 Dec 2010 14:03:13 +0100
> >
> > Von: "Sébastien Lorquet" <[hidden email]>
> > An: "Stefan Partheymüller" <[hidden email]>
> > CC: [hidden email]
> > Betreff: Re: [Cegcc-devel] CeGCC for Windows (without bein forced to use
> > cygwin)
> >
> > Hello,
> >
> > Sorry, this is beyond my abilities.
> >
> > In my tests, I was using code::blocks and I did not encounter this problem
> > :(
> >
> > Regards
> > Sebastien
> >
> > On Tue, Dec 28, 2010 at 1:54 PM, "Stefan Partheymüller"
> > <[hidden email]> wrote:
> >>
> >> -------- Original-Nachricht --------
> >> Datum: Tue, 28 Dec 2010 13:50:42 +0100
> >> Von: "Stefan Partheymüller" <[hidden email]>
> >>
> >> An: "Sébastien Lorquet" <[hidden email]>
> >> 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)
> >>
> >> 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" <[hidden email]>
> >> An: [hidden email]
> >> CC: "Stefan Partheymüller" <[hidden email]>
> >> 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"
> >> <[hidden email]> 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
> >>> [hidden email]
> >>> 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
> >> [hidden email]
> >> https://lists.sourceforge.net/lists/listinfo/cegcc-devel
> >>
> >>
> >
> >
> >
> > --
> > 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
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/cegcc-devel
> >
> >
>
> ------------------------------------------------------------------------------
> 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
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/cegcc-devel

--
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info


------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: CeGCC for Windows (without bein forced to use cygwin)

Jacek M. Holeczek
Hi,

> With mingw32ce you will not need the cegcc library, but if you use C++
> then you do need the libstdc++ either in DLL or in statically linked
> form.

Sorry, I thought that "statically linked" is actually the default for
"mingw32ce".

Anyhow, I just noticed "mingwm10.dll" and I do not remember when is it
needed ...
Could you, please, remind me?

Thanks in advance,
Best regards,
Jacek.

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: CeGCC for Windows (without bein forced to use cygwin)

Vincent Torri
In reply to this post by "Stefan Partheymüller"


On Tue, 28 Dec 2010, "Stefan Partheymüller" wrote:

> -------- Original-Nachricht --------
> Datum: Tue, 28 Dec 2010 13:50:42 +0100
> Von: "Stefan Partheymüller" <[hidden email]>
> An: "Sébastien Lorquet" <[hidden email]>
> 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" <[hidden email]>
>> An: [hidden email]
>> CC: "Stefan Partheymüller" <[hidden email]>
>> 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"
>> <[hidden email]> 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
>>> [hidden email]
>>> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: CeGCC for Windows (without bein forced to use cygwin)

Vincent Torri
In reply to this post by Jacek M. Holeczek


On Tue, 28 Dec 2010, Jacek M. Holeczek wrote:

> Hi,
> sorry, but if you use "mingw32ce-g++" compiler, you should NOT need
> "libstdc++-6.dll".
> Only if you use "cegcc-g++" to compile/link you will need this dll.

and according to the g++ version (i.e. g++ < 4.5.*), if needed (i.e. if
you really use the STL), libstdc++ is statically linked to your
program/library)

Vincent Torri

> Jacek.
>
> On Tue, Dec 28, 2010 at 2:12 PM, "Stefan Partheymüller"
> <[hidden email]> wrote:
>> Hi,
>>
>> sorry, I was obviously too dumb :-)
>> Now it works awesome.
>> I didn't know, that I need the libstdc++-6.dll to run the programm.
>> anyway, now it works perfect, thank you so much.
>>
>> But I can swear, in the first tests the compiler didn't know where to search
>> for the libraries and the include files. Anyway, now it works!
>>
>> Regards
>> Stefan Partheymüller
>>
>> -------- Original-Nachricht --------
>> Datum: Tue, 28 Dec 2010 14:03:13 +0100
>>
>> Von: "Sébastien Lorquet" <[hidden email]>
>> An: "Stefan Partheymüller" <[hidden email]>
>> CC: [hidden email]
>> Betreff: Re: [Cegcc-devel] CeGCC for Windows (without bein forced to use
>> cygwin)
>>
>> Hello,
>>
>> Sorry, this is beyond my abilities.
>>
>> In my tests, I was using code::blocks and I did not encounter this problem
>> :(
>>
>> Regards
>> Sebastien
>>
>> On Tue, Dec 28, 2010 at 1:54 PM, "Stefan Partheymüller"
>> <[hidden email]> wrote:
>>>
>>> -------- Original-Nachricht --------
>>> Datum: Tue, 28 Dec 2010 13:50:42 +0100
>>> Von: "Stefan Partheymüller" <[hidden email]>
>>>
>>> An: "Sébastien Lorquet" <[hidden email]>
>>> 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)
>>>
>>> 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" <[hidden email]>
>>> An: [hidden email]
>>> CC: "Stefan Partheymüller" <[hidden email]>
>>> 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"
>>> <[hidden email]> 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
>>>> [hidden email]
>>>> 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
>>> [hidden email]
>>> https://lists.sourceforge.net/lists/listinfo/cegcc-devel
>>>
>>>
>>
>>
>>
>> --
>> 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
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/cegcc-devel
>>
>>
>
> ------------------------------------------------------------------------------
> 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
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/cegcc-devel
>
>
------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
12
Loading...