On Mon, 22 Feb 2010, Szak�ts Viktor wrote: Hi,
> >> 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. Looks OK for me. If OS2 GCC port does not need at least one .o/.obj file (in my Linux box it doesn't) then it should work and resolve the problem without direct call to LD. Maurilio or David, Can you check it? best regards, Przemek _______________________________________________ Harbour mailing list (attachment size limit: 40KB) [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
