>> So maybe we can simply create 2 files. One with GCC/LD options
>> only and with reference to second file __flst__.tmp will have
>> list of object files. Such reference can be stored in first file
>> as: '-Wl,@__flst__.tmp'. If gcc expects at least one .o file then
>> we can pass first object file directly as GCC parameter and not
>> include in __flst__.tmp.
> 
> That's a good idea.

The file list is already separate, so to try this solution out, 
only '-Wl,' needs to be added right in front of '@__dyn__.tmp':

--- [gcc.mk]
   $(DY) $(DFLAGS) $(HB_USER_DFLAGS) $(DY_OUT)$(DYN_DIR)/$@ -Wl,@__dyn__.tmp 
__dyn__.def $(DLIBS) $(DYSTRIP)
---

This assumes vanilla 2.0.0 gcc.mk, not the hacked ones currently 
on SVN.

Brgds,
Viktor

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to