From: lfm AT pgroup DOT com (Larry Meadows) Subject: linking w/ microsoft libraries that reference kernel32 functions 8 Aug 1997 15:08:16 -0700 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <199708082140.OAA23372.cygnus.gnu-win32@pacific.pgroup.com> Original-To: gnu-win32 AT cygnus DOT com Original-Sender: owner-gnu-win32 AT cygnus DOT com I'm trying to link with the Intel BLAS library, intended for use with microsoft C and/or the Intel reference compiler. It has some code in it that references several kernel32 DLL functions with names __imp__xxx . These are unresolved by ld, and if I try to create an assembly file that defines them and sets them to the appropriate gnu interface function, I get program that won't execute: bash: ./a.exe: (null) bash$ gdb -nw a.exe GNU gdb 4.16.1 Copyright 1997 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-cygwin32"... (gdb) run Starting program: /tmp/a.exe Error creating process /tmp/a.exe, (error 193) Obviously this must be an FAQ, but I can't find it. Thanks. lfm - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".