Mail Archives: cygwin/1998/02/12/10:53:39
> vischne AT ibm DOT net
> Wed, 11 Feb 1998 17:50:18 GMT
>
>P. S. I seem to have the latest egcs for cygwin successfully compiling
>ming32 programs using a slightly modified mingw32 specs.
>-
There is one ming32 option that causes egcs for cygwin to stop, so I
removed it from the specs. Herewith the modified mingw32 specs, Unix
newlines and all:
========================================================================
*asm:
*asm_final:
*cpp:
%(cpp_cpu) %[cpp_cpu] %{posix:-D_POSIX_SOURCE}
*cc1:
%(cc1_spec)
*cc1plus:
*endfile:
*link:
%{mwindows:--subsystem windows} %{mdll:--dll -e _DllMainCRTStartup AT 12}
*lib:
%{mwindows:-luser32 -lgdi32 -lcomdlg32} -lkernel32 -ladvapi32 -lshell32
*libgcc:
-lmingw32 -lgcc -lmoldname -lcrtdll
*startfile:
%{mdll:dllcrt1%O%s} %{!mdll:crt1%O%s}
*switches_need_spaces:
*signed_char:
%{funsigned-char:-D__CHAR_UNSIGNED__}
*predefines:
-Di386 -D_WIN32 -DWIN32 -D__WIN32__ -D__MINGW32__ -DWINNT -D_X86_=1 -D__STDC__=1 -D__stdcall=__attribute__((__stdcall__)) -D__cdecl=__attribute__((__cdecl__)) -Asystem(winnt) -Acpu(i386) -Amachine(i386)
*cross_compile:
0
*version:
2.8.0
*multilib:
.. ;
*multilib_defaults:
*multilib_extra:
*multilib_matches:
*cpp_cpu:
-Di386 -Asystem(unix) -Acpu(i386) -Amachine(i386) %{mcpu=i486:-Di486} %{m486:-Di486} %{mpentium:-Dpentium -Di586} %{mcpu=pentium:-Dpentium -Di586} %{mpentiumpro:-Dpentiumpro -Di686} %{mcpu=pentiumpro:-Dpentiumpro -Di686}
*cc1_cpu:
%{!mcpu*: %{m386:-mcpu=i386 -march=i386} %{mno-486:-mcpu=i386 -march=i386} %{m486:-mcpu=i486 -march=i486} %{mno-386:-mcpu=i486 -march=i486} %{mno-pentium:-mcpu=i486 -march=i486} %{mpentium:-mcpu=pentium} %{mno-pentiumpro:-mcpu=pentium} %{mpentiumpro:-mcpu=pentiumpro}}
-
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".
- Raw text -