On Mon, 17 Aug 2009, David Arturo Macias Corona wrote:

Hi David,

> First try with gcc 4.x.x and OpenWatcom wlink.exe as linker
[...]
> Downloading wl-hll-r1.zip wl.exe show:
> --------------------------
> [E:\wl-hll-r1]wl
> ** EXPERIMENTAL (HLL) ** Open Watcom Linker Version 1.6beta1 Limited 
> Availability
> Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
> Source code is available under the Sybase Open Watcom Public License.
> See http://www.openwatcom.org/ for details.
> Press CTRL/Z and then RETURN to finish
> WLINK>Error! E3013: break key detected
> --------------------------
> so is an old OpenWatcom linker with support of HLL format
> Changing in my Harbour build script:
>  set EMXOMFLD_TYPE=WLINK
>  set EMXOMFLD_LINKER=WL.EXE
> Harbour build entirely with gcc440/wl.exe linker, including hbrun.exe and 
> hbmk2.exe.
> All Harbour binaries run fine
> Conclusions:
> - link386.exe limitations with Harbour are left off replacing him with an 
> old/modified OpenWatcom linker wl.exe
> - Entire Harbour for OS/2 can be build with gcc440 and wl.exe linker
> Update:
> Harbour build entirely with gcc432/gcc433/wl.exe linker, including 
> hbrun.exe and hbmk2.exe.
> All Harbour binaries run fine

Thank you for your tests. I think we should leave some information
about it for OS2 users who want to use newer GNU make ports.

> Perhaps other way to use current WLINK.exe without HLL support is to force 
> "strip_symbols"

probably you will have to pass it as linker option, maybe using -Wl,<option>

> I have not tested if it can be done using gcc -Zlinker option
> or, as doc say:
> ---------------
>      EMXOMFLD_LINKER:
>          Name of the linker to use and optionally extra parameters.
> Spaces in the linker name or path is not supported. Quotes are not
> supported either.
> ---------------

I do not know -Zlinker is not standard GCC option.
Maybe you can also take linker (LD) from older GCC builds which worked
for you.

best regards,
Przemek
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to