[Cin] Questions about compiling

Andrew Randrianasulu randrianasulu at gmail.com
Fri Jul 5 10:43:57 CEST 2019


В сообщении от Friday 05 July 2019 10:39:01 Andrea paz написал(а):
> - To compile new releases from source, I use the following ./configure:
> 
> ./configure --prefix=/usr --with-jobs=8 --without-oss
> --with-single-user –with-booby
> 
> But I get warnings I don't understand:
> 
> [paz at archpaz cinelerra-5.1]$ ./configure --prefix=/usr --with-jobs=8
> --without-oss --with-single-user –with-booby
> ...
> configure: WARNING: you should use --build, --host, --target
> configure: WARNING: invalid host type: –with-booby
> ...


I think you used single "-" at last option instead of "--" (two "-")

 {- - with-single-user}
 {– with-booby}

> 
> What are the best ./configure options to use for compiling?
> 
> - Another question:
> I noticed the following warning when compiling. It is a warning that
> repeats itself dozens of times before continuing:
> ...
> ./libavutil/mem.h:342:1: warning: ‘alloc_size’ attribute ignored on a
> function returning ‘int’ [-Wattributes]
>   342 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t
> nmemb, size_t size);
>       | ^~~~~~~~~~~~~
> ...
> 
> Everything's working fine, so I don't think it's important.
> 
> PS: Great idea the smooth button in the mask tool!
> PPS: Have you heard of the new -O1g instead of -O1?

No, I can't find it in online docs ....
https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#Optimize-Options

may be it expanded to -O1 -g ?




More information about the Cin mailing list