[sane-devel] sane 1.0.8 on OS/2

Paul Floyd paulf@free.fr
Sat, 01 Jun 2002 23:17:22 +0200


This is a multi-part message in MIME format.
--------------74D3CAC94EF4BBCDDE2A17F9
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi

Story so far:
build went cleanly: one little glitch, the frontends/Makefile does not
have $(LIBSANEI) following $LIBSANE), which the linker requires.

I'm attaching a diff between the generated libtool and a libtool that
builds a DLL. Perhaps it would be possible to integrate this into
libtool.in?

I'm sure that the old_archive_from_new_cmds and archive_cmds must be
changed, not so sure about all the others.

After that, running a default scan seems to work OK. Running a scan with
--resolution 100 causes a trap (a real pain in the ass). If I have time,
I'll look into that, but it's difficult to debug, as I'd need to go
right down to the point where the SCSI request is being built, and I'm
no whizz at SCSI.

Cheers
Paul
-- 
Paul Floyd                 http://paulf.free.fr (for what it's worth)
                           MailTo:paulf@free.fr
What happens if you have lead in your pants as well as lead in your
pencil?
--------------74D3CAC94EF4BBCDDE2A17F9
Content-Type: text/plain; charset=us-ascii;
 name="LIBTOOL.DIF"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="LIBTOOL.DIF"

44c44
< build_libtool_libs=yes
---
> build_libtool_libs=no
56,57c56,57
< host_alias=i386-pc-os2_emx
< host=i386-pc-os2_emx
---
> host_alias=i386-pc-gnu
> host=i386-pc-gnu
113c113
< exeext="exe"
---
> exeext=""
116,117c116,117
< pic_flag=""
< #pic_mode=default
---
> pic_flag="  -fPIC"
> pic_mode=default
159c159
< version_type=none
---
> version_type=linux
166c166
< library_names_spec="\${libname}.dll \${libname}.a"
---
> library_names_spec="\${libname}\${release}.so\$versuffix \${libname}\${release}.so\${major} \${libname}.so"
169c169
< soname_spec=""
---
> soname_spec="\${libname}\${release}.so\$major"
172,174c172,174
< RANLIB=""
< old_archive_cmds="\$AR cru \$oldlib\$oldobjs"
< old_postinstall_cmds="chmod 644 \$oldlib"
---
> RANLIB="echo"
> old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs\$old_deplibs~\$RANLIB \$oldlib"
> old_postinstall_cmds="\$RANLIB \$oldlib~chmod 644 \$oldlib"
178c178
< old_archive_from_new_cmds="emximp -o \$objdir/\$libname.a \$objdir/\$libname.def"
---
> old_archive_from_new_cmds=""
184,185c184
< archive_cmds="\$echo \\\"LIBRARY \$libname INITINSTANCE\\\" > \$objdir/\$libname.def;\$echo \\\"DESCRIPTION \\\\\\\"\$libname\\\\\\\"\\\" >> \$objdir/\$libname.def;\$echo DATA >> \$objdir/\$libname.def;\$echo \\\" SINGLE NONSHARED\\\" >> \$objdir/\$libname.def;\$echo EXPORTS >> \$objdir/\$libname.def;emxexp\$libobjs >> \$objdir/\$libname.def;\$CC -Zmt -Zdll -Zcrtdll -o \$lib\$libobjs \$objdir/\$libname.def ../sanei/libsanei.a -lsyslog -lsocket -s"
< 
---
> archive_cmds=""
195c194
< deplibs_check_method="unknown"
---
> deplibs_check_method="pass_all"
198c197
< file_magic_cmd=""
---
> file_magic_cmd="\$MAGIC_CMD"
225c224
< shlibpath_var=LIBPATH
---
> shlibpath_var=LD_LIBRARY_PATH
234c233
< hardcode_into_libs=immediate
---
> hardcode_into_libs=yes
249c248
< hardcode_minus_L=yes
---
> hardcode_minus_L=no
263c262
< sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib /emx/lib"
---
> sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
266c265
< sys_lib_dlsearch_path_spec="/lib /usr/lib /emx/lib"
---
> sys_lib_dlsearch_path_spec="/lib /usr/lib"
3101c3100
<             soname=`echo $soname | sed -e "s/libsane-[A-Za-z_0-9]*/libsane/g"`
---
>             soname=`echo $soname | sed -e "s/libsane-[A-Za-z_0-9]*/libsane/g"` 
3103c3102
<         # End of local change.
---
>         # End of local change.        

--------------74D3CAC94EF4BBCDDE2A17F9--