public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Marco Trudel <mtrudel@gmx.ch>
To: "Carlos O'Donell" <carlos@codesourcery.com>
Cc: gcc-help@gcc.gnu.org, gcc-patches@gcc.gnu.org
Subject: Re: [PATCH] Making double precision constants work with -fsingle-precision-constant  [was: Re: current subversion (rev 115032) compiling issues]
Date: Wed, 28 Jun 2006 09:02:00 -0000	[thread overview]
Message-ID: <44A24588.6000907@gmx.ch> (raw)
In-Reply-To: <44A0F836.7060106@gmx.ch>

Hello Carlos

Your patch http://gcc.gnu.org/ml/gcc-patches/2005-12/msg00790.html seems 
to break cross-compiling for windows, see attached forwarded message.


regards
Marco


Marco Trudel wrote:
> Hi list
> 
> I run into errors trying to compile the current subversion state. I 
> compile with this command:
> 
> cd $GCC_BUILD_DIR
> $GCC_SRC_DIR/configure --prefix=$GCC_OUT_DIR \
>     --build=`$GCC_SRC_DIR/config.guess` --host=i686-pc-mingw32 
> --target=i686-pc-mingw32 \
>     --with-sysroot=$GCC_OUT_DIR/sys-root 
> --with-build-sysroot=$GCC_OUT_DIR/sys-root \
>     --enable-languages=c,c++,java \
>     --with-as=$AS --with-ld=$LD --with-gcj=i686-pc-mingw32-gcj\
>     --with-gnu-as --with-gnu-ld \
>     --disable-nls --disable-debug --disable-shared --disable-checking \
>     --enable-threads=win32 --disable-win32-registry 
> --enable-sjlj-exceptions \
>     --enable-libgcj
> make
> 
> My compiler is a gcc 4.1.1 that compiles for i686-pc-mingw32.
> 
> 
> The first problem is:
> $GCC_SRC_DIR/libstdc++-v3/libsupc++/eh_personality.cc:434: error: 
> '_Unwind_GetIPInfo' was not declared in this scope
> 
> Inserting #include "unwind-generic.h" before #include "unwind-cxx.h" 
> solves this one. Inserting it anywhere after "unwind-cxx.h", won't work.
> I don't know if this is correct or not, just solves the first problem...
> 
> Ok, next Problem:
> $GCC_BUILD_DIR/i686-pc-mingw32/libstdc++-v3/include/limits:1011: error: 
> '__FLT_HAS_DENORM__' was not declared in this scope
> $GCC_BUILD_DIR/i686-pc-mingw32/libstdc++-v3/include/limits:1068: error: 
> '__DBL_HAS_DENORM__' was not declared in this scope
> $GCC_BUILD_DIR/i686-pc-mingw32/libstdc++-v3/include/limits:1125: error: 
> '__LDBL_HAS_DENORM__' was not declared in this scope
> 
> Here I'm stuck because I'm unable to find the defining header or source 
> file for these constants... Any ideas?
> 
> 
> regards
> Marco
> 
> 

  reply	other threads:[~2006-06-28  9:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-27  9:19 current subversion (rev 115032) compiling issues Marco Trudel
2006-06-28  9:02 ` Marco Trudel [this message]
2006-06-28 16:27   ` [PATCH] Making double precision constants work with -fsingle-precision-constant [was: Re: current subversion (rev 115032) compiling issues] Carlos O'Donell
2006-06-30 19:27     ` Marco Trudel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44A24588.6000907@gmx.ch \
    --to=mtrudel@gmx.ch \
    --cc=carlos@codesourcery.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=gcc-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).