Re: [Bacula-users] CFLAGS optimizations and building for another architecture

2018-09-29 Thread George Anchev via Bacula-users
On Sat, 29 Sep 2018 07:59:07 -0400 Josh Fisher wrote:

> Bacula uses autoconf, so to cross compile, start
> with the --build and --host flags for the configure
> script. See
> https://www.gnu.org/software/automake/manual/html_node/Cross_002dCompilation.html.

Thanks.

--
George


___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] CFLAGS optimizations and building for another architecture

2018-09-29 Thread Josh Fisher



On 9/29/2018 5:52 AM, George Anchev via Bacula-users wrote:

Can you please advise about this:
On Mon, 24 Sep 2018 12:12:42 +0300 George Anchev wrote:


Also: I would like to use a faster machine to create
builds for other slower machines (one of them even
32-bit). Do I need anything more than just finding
the proper "-march" setting for the target CPU?


Bacula uses autoconf, so to cross compile, start with the --build and 
--host flags for the configure script. See 
https://www.gnu.org/software/automake/manual/html_node/Cross_002dCompilation.html.




___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] label command frequently fails

2018-09-29 Thread Radosław Korzeniewski
Hello,

pt., 28 wrz 2018 o 20:19 Gary Dale  napisał(a):

> Of course I restrict the volume size. That's normal for Bacula.
>

Well, it is not normal unless you want to limit storage size allocated by
your backups where you additionally define the maximum number of volumes in
pool. In any other case it is not normal.

best regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] CFLAGS optimizations and building for another architecture

2018-09-29 Thread George Anchev via Bacula-users
On Sat, 29 Sep 2018 19:30:09 +1000 Gary R. Schmidt
wrote:

> Well, take some advice from someone who has been
> writing it for more than thirty-five years, and
> still does - just leave it alone.

Thanks.

Can you please advise about this:

On Mon, 24 Sep 2018 12:12:42 +0300 George Anchev wrote:

> Also: I would like to use a faster machine to create
> builds for other slower machines (one of them even
> 32-bit). Do I need anything more than just finding
> the proper "-march" setting for the target CPU?

--
George


___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] CFLAGS optimizations and building for another architecture

2018-09-29 Thread Gary R. Schmidt

On 29/09/2018 18:57, George Anchev via Bacula-users wrote:

On Sat, 29 Sep 2018 12:09:24 +1000 Gary R. Schmidt
wrote:


You appear to be suffering from what one of my
lecturers back at $GOSHWHATTAUNIVERSITY called
"Premature Optimisation."  (That was back in the
1980s, and he had worked on CSIRAC :-) )


Perhaps because I haven't written any C code for 20
years :)

Well, take some advice from someone who has been writing it for more 
than thirty-five years, and still does - just leave it alone.


Cheers,
GaryB-)


___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] CFLAGS optimizations and building for another architecture

2018-09-29 Thread George Anchev via Bacula-users
On Sat, 29 Sep 2018 12:09:24 +1000 Gary R. Schmidt
wrote:

> You appear to be suffering from what one of my
> lecturers back at $GOSHWHATTAUNIVERSITY called
> "Premature Optimisation."  (That was back in the
> 1980s, and he had worked on CSIRAC :-) )

Perhaps because I haven't written any C code for 20
years :)

--
George


___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] CFLAGS optimizations and building for another architecture

2018-09-29 Thread George Anchev via Bacula-users
On Sat, 29 Sep 2018 01:36:46 +0200 Tilman Schmidt
wrote:

> No. As Martin already wrote, you can remove it from
> the built executables by using the "strip" command,
> see
> 
> man strip

Great. Thanks.

--
George


___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users