Commit 05d9f8b0 by Christopher Faylor Committed by Christopher Faylor

* config/i386/cygwin.h: Fix -mno-cygwin search path for link.

From-SVN: r39344
parent 80c8b1aa
Mon Jan 29 23:53:14 2001 Christopher Faylor <cgf@cygnus.com>
* config/i386/cygwin.h: Fix -mno-cygwin search path for link.
2001-01-29 DJ Delorie <dj@redhat.com>
* combine.c (if_then_else_cond): Pass the correct mode to
......
......@@ -82,12 +82,13 @@ Boston, MA 02111-1307, USA. */
#define LIBGCC_SPEC "%{mno-cygwin: %{mthreads:-lmingwthrd} -lmingw32} -lgcc %{mno-cygwin:-lmoldname -lmsvcrt}"
#undef STARTFILE_SPEC
#define STARTFILE_SPEC "%{shared|mdll: %{mno-cygwin:dllcrt2%O%s}} \
%{!shared: %{!mdll: %{!mno-cygwin:crt0%O%s} %{mno-cygwin:-L/usr/local/lib/mingw -L/usr/lib/mingw crt2%O%s} \
%{pg:gcrt0%O%s}}}"
#undef CPP_SPEC
#ifdef CROSS_COMPILE
#define STARTFILE_SPEC "%{shared|mdll: %{mno-cygwin:dllcrt2%O%s}} \
%{!shared: %{!mdll: %{!mno-cygwin:crt0%O%s} \
%{mno-cygwin:-L../../../../i686-pc-cygwin/lib/mingw mingw/crt2%O%s} \
%{pg:gcrt0%O%s}}}"
#define CPP_SPEC "%(cpp_cpu) %{posix:-D_POSIX_SOURCE} \
-D__stdcall=__attribute__((__stdcall__)) \
-D__cdecl=__attribute__((__cdecl__)) \
......@@ -111,6 +112,9 @@ Boston, MA 02111-1307, USA. */
%{!mno-win32:-DWIN32 -D_WIN32 -D__WIN32 -D__WIN32__ -DWINNT \
-idirafter /usr/include/w32api}"
#else
#define STARTFILE_SPEC "%{shared|mdll: %{mno-cygwin:dllcrt2%O%s}} \
%{!shared: %{!mdll: %{!mno-cygwin:crt0%O%s} %{mno-cygwin:-L/usr/local/lib/mingw -L/usr/lib/mingw mingw/crt2%O%s} \
%{pg:gcrt0%O%s}}}"
#define CPP_SPEC "%(cpp_cpu) %{posix:-D_POSIX_SOURCE} \
-D__stdcall=__attribute__((__stdcall__)) \
-D__cdecl=__attribute__((__cdecl__)) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment