Re: [Openvpn-devel] [DISCUSS] much more complicated gcc invocations now

2012-03-28 Thread Alon Bar-Lev
On Wed, Mar 28, 2012 at 11:22 AM, Jan Just Keijser wrote: > ah OK, I normally don't care about dependencies because I build openvpn only > once. why did automake decide to add these rules , whilst it didn't do so in > the past? Yes, it should had. > and no, apart from the

Re: [Openvpn-devel] [DISCUSS] much more complicated gcc invocations now

2012-03-28 Thread David Sommerseth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28/03/12 11:12, Jan Just Keijser wrote: > Hi, > > Gert Doering wrote: >> Hi, >> >> On Mon, Mar 26, 2012 at 07:51:01PM +0200, Alon Bar-Lev wrote: >> >>> The benefit is to divide the code into libraries and core which >>> is easier to maintain and

Re: [Openvpn-devel] [DISCUSS] much more complicated gcc invocations now

2012-03-28 Thread Jan Just Keijser
Alon Bar-Lev wrote: On Wed, Mar 28, 2012 at 11:12 AM, Jan Just Keijser wrote: Hi, Gert Doering wrote: Hi, On Mon, Mar 26, 2012 at 07:51:01PM +0200, Alon Bar-Lev wrote: The benefit is to divide the code into libraries and core which is easier to maintain and reuse.

Re: [Openvpn-devel] [DISCUSS] much more complicated gcc invocations now

2012-03-28 Thread Alon Bar-Lev
On Wed, Mar 28, 2012 at 11:12 AM, Jan Just Keijser wrote: > Hi, > > > Gert Doering wrote: > > Hi, > > On Mon, Mar 26, 2012 at 07:51:01PM +0200, Alon Bar-Lev wrote: > > > The benefit is to divide the code into libraries and core which is > easier to maintain and reuse. > > > I'm

Re: [Openvpn-devel] [DISCUSS] much more complicated gcc invocations now

2012-03-28 Thread Jan Just Keijser
Hi, Gert Doering wrote: Hi, On Mon, Mar 26, 2012 at 07:51:01PM +0200, Alon Bar-Lev wrote: The benefit is to divide the code into libraries and core which is easier to maintain and reuse. I'm not sure I understand what's so hard about "compile stuff, use 'ar' to pack into

Re: [Openvpn-devel] [DISCUSS] much more complicated gcc invocations now

2012-03-26 Thread Alon Bar-Lev
On Mon, Mar 26, 2012 at 8:47 PM, Gert Doering wrote: > (Just as a side note - why is it including "-I/usr/kerberos/include" *twice* > for you?) As we use both libcrypto and libssl we get this twice... --- $ pkg-config --cflags libcrypto -I/usr/kerberos/include $ pkg-config

Re: [Openvpn-devel] [DISCUSS] much more complicated gcc invocations now

2012-03-26 Thread Gert Doering
Hi, On Mon, Mar 26, 2012 at 08:32:40PM +0200, Alon Bar-Lev wrote: > Well, please hold... I don't see this if... at my machine: > > --- > gcc -DHAVE_CONFIG_H -I. -I../../../src/openvpn -I../.. > -I../../../include -I../../../src/compat-I/usr/kerberos/include > -I/usr/kerberos/include -g

Re: [Openvpn-devel] [DISCUSS] much more complicated gcc invocations now

2012-03-26 Thread Alon Bar-Lev
On Mon, Mar 26, 2012 at 8:22 PM, Gert Doering wrote: > Hi, > > On Mon, Mar 26, 2012 at 08:14:50PM +0200, Alon Bar-Lev wrote: >> Are for dependency tracking, so that if you change a file dependencies >> will be recompiled... This was the same in previous build. >> >> So we

Re: [Openvpn-devel] [DISCUSS] much more complicated gcc invocations now

2012-03-26 Thread Gert Doering
Hi, On Mon, Mar 26, 2012 at 08:14:50PM +0200, Alon Bar-Lev wrote: > Are for dependency tracking, so that if you change a file dependencies > will be recompiled... This was the same in previous build. > > So we had: > --- > gcc -DHAVE_CONFIG_H -I. -I. -I/usr/kerberos/include-g -O2 -MT >

Re: [Openvpn-devel] [DISCUSS] much more complicated gcc invocations now

2012-03-26 Thread Alon Bar-Lev
On Mon, Mar 26, 2012 at 8:02 PM, Alon Bar-Lev wrote: > On Mon, Mar 26, 2012 at 7:55 PM, Gert Doering wrote: >> Hi, >> >> On Mon, Mar 26, 2012 at 07:51:01PM +0200, Alon Bar-Lev wrote: >>> The benefit is to divide the code into libraries and core which

Re: [Openvpn-devel] [DISCUSS] much more complicated gcc invocations now

2012-03-26 Thread Alon Bar-Lev
On Mon, Mar 26, 2012 at 7:55 PM, Gert Doering wrote: > Hi, > > On Mon, Mar 26, 2012 at 07:51:01PM +0200, Alon Bar-Lev wrote: >> The benefit is to divide the code into libraries and core which is >> easier to maintain and reuse. > > I'm not sure I understand what's so hard

Re: [Openvpn-devel] [DISCUSS] much more complicated gcc invocations now

2012-03-26 Thread Gert Doering
Hi, On Mon, Mar 26, 2012 at 07:51:01PM +0200, Alon Bar-Lev wrote: > The benefit is to divide the code into libraries and core which is > easier to maintain and reuse. I'm not sure I understand what's so hard about "compile stuff, use 'ar' to pack into libopenvpn.a" that stuff needs more

Re: [Openvpn-devel] [DISCUSS] much more complicated gcc invocations now

2012-03-26 Thread Alon Bar-Lev
On Mon, Mar 26, 2012 at 6:05 PM, Gert Doering wrote: > Hi, > > one of the things the new build system brought is us is *this*: > > if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include  -I../../src/compat     >  -I/usr/include -I/usr/include     -g -O2 -MT

[Openvpn-devel] [DISCUSS] much more complicated gcc invocations now

2012-03-26 Thread Gert Doering
Hi, one of the things the new build system brought is us is *this*: if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../src/compat -I/usr/include -I/usr/include -g -O2 -MT ssl_verify_polarssl.o -MD -MP -MF ".deps/ssl_verify_polarssl.Tpo" -c -o ssl_verify_polarssl.o