Hi,

> Usage: ld.exe [-d] [-dc] [-dp] [-e symbol] [-l lib] [-n] [-noinhibit-exec]
>       [-nostdlib] [-o file] [-r] [-s] [-t] [-u symbol] [-x] [-y symbol]
>       [-z] [-A file] [-Bstatic] [-D size] [-L libdir] [-M] [-N]
>       [-S] [-T[{text,data}] addr] [-V prefix] [-X] [-Zdll-search]
>       [file...]
> 
> Usage: emxomfld -o <file> [-l <lib>] [-L <libdir>] [-T <base>] [-igtsS]
>           [-Zexe] [-Zdll] [-Zsym] [-Zstack <size>] [-Zmap[=<map_file>]]
>           [-Z[no-]autoconv] [-Zdll-search] [-O <option>] [-static]
>           [-non_shared] [-Bstatic] [-dn] [call_shared] [-Bshared]
>           [-dy] <file>...

To try it, in config/os2/gcc.mk, replace line:
---
DY := $(CC)
---
with:
---
ifeq ($(HB_COMPILER),gccomf)
   DY := $(HB_CCPATH)$(HB_CCPREFIX)emxomfld
else
   DY := $(HB_CCPATH)$(HB_CCPREFIX)ld
endif
---

Maybe some other tweaks are needed in the command line.

> Harbour need shorter intermediate file size

I also need a bigger house ;) It's not an option 
unfortunately, at least I don't know of any. But 
the source is there so anyone can try to enhance 
it.

IMO rather someone should fix this OS/2 GCC 
toolchain bug.

Brgds,
Viktor

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

Reply via email to