Hi,

I have a question about gcc 3.0.3 : since I have installed it, it refuses to
compile because it detect c++ as a crosscompiler :

checking whether the C++ compiler
(c++ -Wimplicit -Wreturn-type -Wid-clash-51 -Wswitch -Wtrigraphs -Wcomment -
W -Wchar-subscripts -Wformat -Wimplicit-function-dec -Wimplicit-int -Wparent
heses -Wsign-compare -Wwrite-strings -Woverloaded-virtual -Wextern-inline -W
sign-promo -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor -felide-construc
tors -fno-exceptions -fno-rtti -mcpu=pentiumpro -O3 -fno-omit-frame-pointer 
-g  ) is a cross-compiler... yes

And then it failed :

checking return type of sprintf... configure: error: can not run test
program while cross compiling

Any idea of what I have to do to run the compilation successfully ?

Thank you in advance,

Regards,
Jocelyn Fournier
Presence-PC



----- Original Message -----
From: "Sinisa Milivojevic" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, December 25, 2001 2:02 PM
Subject: Re: How to make use of mysql++ with gcc 2.96


> luhar-123 writes:
> > Hi guys,
> >    i have installed red hat linux 7.2 and mysql server version 3.23.42.
but i need mysql++ also.but it seems that gcc version 2.96 will give lot of
problems for mysql++. can any one pls give me a solution to use mysql++ on
linux 7.2.
> > Get Your Private, Free E-mail from Indiatimes at
http://email.indiatimes.com
> >
> >  Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from
http://www.planetm.co.in
>
> Yes, install gcc 2.95.2 or 3.0.3
>
> --
> Regards,
>    __  ___     ___ ____  __
>   /  |/  /_ __/ __/ __ \/ /    Mr. Sinisa Milivojevic <[EMAIL PROTECTED]>
>  / /|_/ / // /\ \/ /_/ / /__   MySQL AB, Fulltime Developer
> /_/  /_/\_, /___/\___\_\___/   Larnaca, Cyprus
>        <___/   www.mysql.com
>
>
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
<[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
>


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to