the samba4 build system

Stefan (metze) Metzmacher metze at samba.org
Mon Aug 23 06:15:06 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

tridge at samba.org schrieb:
| Metze,
|
| I hit a problem today where the build system was producing a Makefile
| that used -O2, even though I specified --enable-developer. So far I
| have spent about an hour trying to find where the -O2 is coming from,
| but have failed.
|
| I think this indicates that the build system might be getting too
| complex.

Do you really think it's easier to find something like this with the samba3 configure.in?

I wonder if you can suggest any ways to make it easier to
| work out where things are coming from?
|
| The configure command I am using is:
|
| export CC="gcc"
| ./configure -C --prefix=/home/tridge/samba/samba4/prefix --enable-developer --enable-experimental
|
| Cheers, Tridge
Hi Tridge,

add --enable-debug and you'll get a config.smb_build.dump file in source/
(maybe we can tripper debug=yes also by --enable-developer in future)

this contains very detailed infos of where stuff is comming from.

Also the planed next step for the build system will have seperate _CFLAGS var for the different
external libs and not one big CFLAGS var.

- --
metze

Stefan Metzmacher <metze at samba.org> www.samba.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3-nr1 (Windows XP)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBKYtqm70gjA5TCD8RAj84AKCtk4SML/SpbjEp23kGqT+VmPcBFQCff8PB
4EgUeMQLxGWzobk0g9Kpjm4=
=XI40
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list