user1 wrote:
> James Warren wrote:
>> wfl386 /6 /FP6 /od /save /xline %1 c:\local\libs\jwlib.lib
>> This command has always worked for me. It is a .bat file of one line.
>> %1 is the file to compile and link. After upgrading to 1.9 it fails
>> with linking error E3033.
>> What is happening here?
>> jw
OK. I downloaded v1.9, and it seems there may well be a bug in wfl386
command line processing. I get the e3033 when I try to build and link to
my own trivial library; near the bottom of what is pasted below. Works
fine in v1.8
c:\temp>wfl386 /c sub1.for
Open Watcom F77/32 Compile and Link Utility Version 1.9
Portions Copyright (c) 1990-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.
See http://www.openwatcom.org/ for details.
wfc386 sub1.for
Open Watcom FORTRAN 77/32 Optimizing Compiler Version 1.9
Portions Copyright (c) 1984-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.
See http://www.openwatcom.org/ for details.
sub1.for: 4 statements, 22 bytes, 1 extensions, 0 warnings, 0 errors
c:\temp>wfl386 /c sub2.for
Open Watcom F77/32 Compile and Link Utility Version 1.9
Portions Copyright (c) 1990-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.
See http://www.openwatcom.org/ for details.
wfc386 sub2.for
Open Watcom FORTRAN 77/32 Optimizing Compiler Version 1.9
Portions Copyright (c) 1984-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.
See http://www.openwatcom.org/ for details.
sub2.for: 4 statements, 25 bytes, 1 extensions, 0 warnings, 0 errors
c:\temp>
c:\temp>wlib mylib.lib +sub1.obj +sub2.obj
Open Watcom Library Manager Version 1.9
Portions Copyright (c) 1984-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.
See http://www.openwatcom.org/ for details.
Warning! Cannot open 'mylib.lib' - library will be created
c:\temp>wfl386 mainp.for mylib.lib
Open Watcom F77/32 Compile and Link Utility Version 1.9
Portions Copyright (c) 1990-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.
See http://www.openwatcom.org/ for details.
wfc386 mainp.for
Open Watcom FORTRAN 77/32 Optimizing Compiler Version 1.9
Portions Copyright (c) 1984-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.
See http://www.openwatcom.org/ for details.
mainp.for: 4 statements, 33 bytes, 1 extensions, 0 warnings, 0 errors
wlink @__wfl__.lnk
Open Watcom Linker Version 1.9
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.
Error! E3033: file __wfl__.lnk: line(4): directive error near
'librarymylib.lib'
Error: Linker returned a bad status
c:\temp>