* config/i386/cygwin.h: Fix -mno-cygwin search path for link.
From-SVN: r39344
This commit is contained in:
parent
80c8b1aad6
commit
05d9f8b08c
@ -1,3 +1,7 @@
|
||||
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__)) \
|
||||
|
Loading…
Reference in New Issue
Block a user