Damitha, the problem is partially fixed but not completely.
Digging further into the problem, I found that almost all source files
are compiled twice.
1. Source file compiled with "-fPIC -DPIC" options and object placed in
.libs folder inside source folder
2. Source file compiled without "-fPIC -DPIC" options and object placed
in source folder
I do not think that this is necessary, we should have only one compiling
of a given source.
Thanks,
Samisa...
Damitha Kumarage wrote:
Hi Samisa,
Thanks very much for pointing this out. I found the reason for this
and fixed it.
Damitha
Samisa Abeysinghe wrote:
It looks to me that the same source file is compiled more than once
in some cases when I do a full build.
This must be the reason for the *very* slow build time.
To verify this do a 'make clean' and then 'sh build.sh > out'
Then 'vi out' and '/http_worker.c' and search next. There are
multiple occurences.
This we have to fix. It is annyoing to wait till a build finishes -
takes *so long* :-(
Samisa...