Am 21.03.2020 um 05:55 schrieb Marco Atzeri:
Am 20.03.2020 um 20:24 schrieb Hans-Bernhard Bröker:
Am 20.03.2020 um 00:18 schrieb Brian Inglis:
On 2020-03-18 23:25, Marco Atzeri via Cygwin wrote:

It seems something is adding 5M or more to the normal
size of the programs

See attached for summary details by arch, but main points for both are, on x86_64:
[...]

Could this be due to the ginormous number of targets configured into the build?

may be, as it also take ages to full compile with the
current configuration:

#       --enable-shared
CYGCONF_ARGS="
         --enable-install-libiberty
         --disable-gdb
         --disable-libdecnumber
         --disable-readline
         --disable-sim
         --enable-64-bit-bfd
         --enable-targets=all
"

I am testing a build dropping the "enable-targets=all"
and also forcing the "enable-shared"

      --enable-shared \
         lt_cv_deplibs_check_method=pass_all


Hoping it will note ages again....

"NOT take"



Marco


dropping the target seems to work very well

current version
$ du -sb /usr/bin/gprof.exe
5424147 /usr/bin/gprof.exe

under build
$ du -sb gprof/gprof.exe
19968   gprof/gprof.exe


Jon,
any clue why we are using a "enable-targets=all" options ?
Any cross compiler should use its own binutils not the cygwin one, correct ?

Marco




--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to