List:MySQL++« Previous MessageNext Message »
From:Niranjan M Date:March 27 2013 6:56pm
Subject:Re: Cross compile mysql++ for PowerPC
View as plain text  
Hi All,
        I solved the problem. Below is a brief description.

I finally solved this problem. I did the below.
1.Downloaded the Connector/C (libmysql) source files from here

2.Cross compiled it for powerpc, below is the command given to cmake

cmake -DCMAKE_INSTALL_PREFIX="~/mysqlclient_C/lib"

Then a simple make generated the libmysql libraries.

3. Downloaded mysql++ source files from here

4. Cross compiled it for powerpc, below is my configure command.

./configure --target=powerpc-linux --host=powerpc-linux
--prefix="$HOME/mysql++/lib" --enable-thread-check
--with-mysql="$HOME/mysqlclient_C/lib" CC=ppc_4xx-gcc CXX=ppc_4xx-g++
LDFLAGS=-lm CFFLAGS="-I/opt/ELDK/4.2/ppc_4xx/usr/include"

The mysql++ libraries is generated now.

I have not tested the built libraries yet.

Thanks a lot guys for the help.

With Regards,

On Thu, Mar 14, 2013 at 6:28 PM, Warren Young <mysqlpp@stripped> wrote:

> On 3/14/2013 11:53, Niranjan M wrote:
>> So my question would be, where can I get the source files which were used
>> to generate libysqlclient libraries ?
> --
> MySQL++ Mailing List
> For list archives:
> To unsubscribe:   

Cross compile mysql++ for PowerPCNiranjan M13 Mar
  • Re: Cross compile mysql++ for PowerPCWarren Young13 Mar
    • Re: Cross compile mysql++ for PowerPCNiranjan M14 Mar
      • Re: Cross compile mysql++ for PowerPCWarren Young14 Mar
        • Re: Cross compile mysql++ for PowerPCNiranjan M27 Mar