help compilation qemu

Juan carlos Rebate nerus492@gmail.com
Sun May 24 15:30:31 GMT 2020


Hi Caba, I know qemu-system-i386 because the official binary is that
size.As for the command used I use this:x86_64-w64-mingw32- this way it
compiles perfectly except for the file sizes, if I add the option - s the
error Bash option -s unknown, I use 64-bit

El dom., 24 may. 2020 11:32, Csaba Ráduly via Cygwin <cygwin@cygwin.com>
escribió:

>
> Hi Juan Carlos,
>
> On 24/05/2020 02:08, Juan carlos Rebate via Cygwin wrote:
> ...
>
> > 1 the compiler is extremely slow, gcc on Linux is about 10 times
> > faster, How could I speed up the compilation process?.
>
> Unfortunately, Cygwin's emulation of fork() is slow compared to the native
> Linux
> implementation (I've seen 1000x difference once, in a test launching the
> same
> program repeatedly). There's not much you can do about it, except getting
> faster
> hardware. A C++ build involves lots and lots of programs being forked.
>
> > 2 the executables produced are too fat, for example qemu-system-i386 is
> 65
> > MB, but it should be 10.5 MB, if I use the -s option in configure returns
> > an unknown error message, how could I fix it? Thank you
>
> Why do you think qemu-system-i386 "should be 10.5 MB" ?
> Are you using 32-bit or 64-bit Cygwin? 64-bit executables are usually
> bigger
> than their 32-bit counterparts (although rarely six times as big).
>
> You really need to give us more information if you hope to get help, like
> the
> actual commands you used and the exact error message.
>
> Without those, we can only guess, and my crystal ball is not very reliable.
>
> If you want to strip the resulting executables, you could try setting the
> LDFLAGS environment variable to '-s' before running configure
>
> Csaba
> --
> You can get very substantial performance improvements
> by not doing the right thing. - Scott Meyers, An Effective C++11/14 Sampler
> So if you're looking for a completely portable, 100% standards-conformat
> way
> to get the wrong information: this is what you want. - Scott Meyers
> (C++TDaWYK)
> --
> 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
>


More information about the Cygwin mailing list