Bug #4129 build problem with mwcc
Submitted: 14 Jun 2004 17:18 Modified: 15 May 2005 18:47
Reporter: Matthew Lord Email Updates:
Status: Closed Impact on me:
Category:MySQL Server: Compiling Severity:S2 (Serious)
Version:4.1.13-pre OS:MacOS (Mac OS X (10.3))
Assigned to: Kent Boortz CPU Architecture:Any

[14 Jun 2004 17:18] Matthew Lord
When building .o objects with mwcc we need to use the -object flag in order to be able to create the 
static libs later.

If we add -object to LDFLAGS then configure fails as it tries to use -object when building conftest.c.

We need to be able to add LDFLAGS w/o using those flags when building executables.

How to repeat:
Download 4.0.20.
tar xzvf mysql-4.0.20.tar.gz
cd mysql-4.0.20
./do-configure (posted with report)

Suggested fix:
We need a way to be able to specify options to be used when creating all the .o object files which isn't 
used when building executables.
[14 Jun 2004 17:18] Matthew Lord
build options used

Attachment: do-configure (application/octet-stream, text), 532 bytes.

[15 May 2005 18:47] Kent Boortz
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at

Additional info:

There is now support to compile using mwcc, using the
configure flag --with-darwin-mwcc