Win32 linking with Borland C++ Builder
Win32 linking with Borland C++ Builder
am 13.04.2003 00:24:11 von Diego
Hi,
I'm from Argentina so please excuse my poor english.
I'm trying to build a simple win32 MySQL client using the Borland
C++ Builder 5.5.1 compiler, but could'n make it.
I downloaded the libs from here:
http://www.mysql.com/downloads/os-win32.html
the ones with this name:
"mysql-libs-3.23.36-borland.zip"
I used this command in my attempt to build it (and some variants):
bcc32 -tWCR -Iinclude -Llib simpletest.c mysqlclient.lib > compi.log
compi.log got this:
Error: Unresolved external '__beginthread' referenced from D:\CODE\DATATEST\LIB\MYSQLCLIENT.LIB|my_winthread
Error: Unresolved external '__endthread' referenced from D:\CODE\DATATEST\LIB\MYSQLCLIENT.LIB|my_winthread
Error: Unresolved external '__ftime' referenced from D:\CODE\DATATEST\LIB\MYSQLCLIENT.LIB|my_wincond
I've put all the .lib files from the downloaded zip in a lib/
subdirectory (as you might guess) and also tried putting and/or
linking only against mysqlclient.lib and zlib.lib as a do in
FreeBSD and Linux (the platforms I've been using) and against all
of them, and got various but similar results. I've got similar
results with a likely simple C++ source test file.
Is that possible that I'm been blind to some stupid detail in
front of my eyes? If not, where can I find the my_* externals that
I'm lacking off.
I'll appreciate any help you can gave me and sorry if I'm asking
something very silly but I've been searching all over the internet
and can't make it work.
Thanks in advance.
Greetings,
Diego
info@asesoraweb.com
P.S.: I'm sending you the code that I used to tried it.
--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@m.gmane.org
Re: Win32 linking with Borland C++ Builder
am 14.04.2003 14:14:37 von Sinisa Milivojevic
Diego writes:
> Hi,
> I'm from Argentina so please excuse my poor english.
>
> I'm trying to build a simple win32 MySQL client using the Borland
> C++ Builder 5.5.1 compiler, but could'n make it.
>
[skip]
>
> Diego
> info@asesoraweb.com
>
> P.S.: I'm sending you the code that I used to tried it.
>
Hi!
Currently, MySQL can be built on Windows only with MS VC++ 6.0.
--
Regards,
--
For technical support contracts, go to https://order.mysql.com/?ref=msmi
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, FullTime Developer
/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
<___/ www.mysql.com
--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@m.gmane.org
Re: Win32 linking with Borland C++ Builder
am 14.04.2003 19:33:39 von Sinisa Milivojevic
Martin Gainty writes:
> Diego
>
> As explained in my earlier email Borland C++ Compilers are "supposed to"
> handle all makefiles
> So the fastest path to get something working would be to Make a VC++6.0
> environment an then
> export the makefile and then have Borland 5.02 Compiler import the VC++6.0
> makefile, save
> then export that makefile and then have Borland C++ Builder import the
> Borland 5.02 makefile
>
> Sinisa what do you think?
>
> Martin
That is not a bad idea.
But there is a better way.
Use Borland's implib.exe utility to create .lib from libmysql.dll.
Then create a Borland Project with this lib.
And it shall work.
--
Regards,
--
For technical support contracts, go to https://order.mysql.com/?ref=msmi
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, FullTime Developer
/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
<___/ www.mysql.com
--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@m.gmane.org
Re: Win32 linking with Borland C++ Builder
am 14.04.2003 20:14:59 von Martin Gainty
Diego
As explained in my earlier email Borland C++ Compilers are "supposed to"
handle all makefiles
So the fastest path to get something working would be to Make a VC++6.0
environment an then
export the makefile and then have Borland 5.02 Compiler import the VC++6.0
makefile, save
then export that makefile and then have Borland C++ Builder import the
Borland 5.02 makefile
Sinisa what do you think?
Martin
----- Original Message -----
From: "Sinisa Milivojevic"
To:
Cc:
Sent: Monday, April 14, 2003 5:14 AM
Subject: Re: Win32 linking with Borland C++ Builder
> Diego writes:
> > Hi,
> > I'm from Argentina so please excuse my poor english.
> >
> > I'm trying to build a simple win32 MySQL client using the Borland
> > C++ Builder 5.5.1 compiler, but could'n make it.
> >
>
> [skip]
>
> >
> > Diego
> > info@asesoraweb.com
> >
> > P.S.: I'm sending you the code that I used to tried it.
> >
>
> Hi!
>
> Currently, MySQL can be built on Windows only with MS VC++ 6.0.
>
>
> --
>
> Regards,
>
> --
> For technical support contracts, go to https://order.mysql.com/?ref=msmi
> __ ___ ___ ____ __
> / |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic
> / /|_/ / // /\ \/ /_/ / /__ MySQL AB, FullTime Developer
> /_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
> <___/ www.mysql.com
>
>
> --
> MySQL Bugs Mailing List
> For list archives: http://lists.mysql.com/bugs
> To unsubscribe: http://lists.mysql.com/bugs?unsub=mgainty@hotmail.com
>
>
--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@m.gmane.org