Hi Maurilio, > but, a lot of references could be simplified, for example: > > ../../../../../src/common/obj/os2/gcc/expropt2.o > > all common objects are inside src/common/obj/os2/gcc an so they could be > referenced as src/common/obj/os2/*.o > > If gcc does not expand them and leaves to ld this task than we should be ok!
Referencing objects using wildcards is very error prone, and cannot be considered good practice. Build process just drops control over what's included and what's not. F.e. it only works reliably for clean builds. (Also, *.o picks everything, while we only need *_dyn.<obj> on some other platforms, so it's also not portable and generic solution) So I don't want to do such simplification, even if it's allowed by some tools. I still think the solution here is fixing OS/2 toolchain. Spending time to develop hacks to work around such 3rd party bugs is not very optimal. Brgds, Viktor _______________________________________________ Harbour mailing list (attachment size limit: 40KB) [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
