Update of /cvsroot/fink/experimental/asari
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10028
Added Files:
mingw-gcc.info
Log Message:
very new gcc; just testing building
--- NEW FILE: mingw-gcc.info ---
Package: mingw-gcc
Version: 4.1.0
Revision: 1
Description: GNU GCC for MinGW
License: LGPL
Maintainer: ASARI Takashi <[EMAIL PROTECTED]>
Depends: <<
mingw-binutils (>= 2.16.91-20050827-1-1),
mingw-runtime (>= 3.8-1),
mingw-w32api (>= 3.3-1)
<<
BuildDepends: tar (=1.14-2)
Source: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%v/gcc-%v.tar.bz2
Source-MD5: 88785071f29ed0e0b6b61057a1079442
SourceDirectory: gcc-%v
PatchScript: <<
/usr/bin/sed -i.bak \
-e 's|LIBGCC2_INCLUDES = -I$(srcdir)/../winsup/w32api|LIBGCC2_INCLUDES =
-I%p/lib/mingw/i686-pc-mingw32|' \
-e '12s|^$|CRTSTUFF_CFLAGS += -isystem %p/lib/mingw/i686-pc-mingw32|' \
gcc/config/i386/t-cygming
<<
ConfigureParams: <<
--target=i686-pc-mingw32 \
--prefix=%p/lib/mingw \
--bindir=%p/bin --mandir=%p/share/man --infodir=%p/share/info
--libexecdir=%p/lib \
--enable-languages=c++,objc,java \
--disable-shared \
--disable-nls \
--enable-threads \
--with-gcc \
--with-as=%p/bin/i686-pc-mingw32-as \
--with-ld=%p/bin/i686-pc-mingw32-ld \
--disable-win32-registry \
--enable-sjlj-exceptions \
--without-x \
--without-newlib
<<
InstallScript: <<
#!/bin/bash -ev
/usr/bin/make install DESTDIR=%d
#/usr/bin/sed -i.finkbak \
# -e 's|-L%b/i686-pc-mingw32/libstdc++-v3/src ||' \
# -e 's|-L%b/i686-pc-mingw32/libstdc++-v3/src/.libs ||' \
# -e 's|-L%b/gcc||' \
# %i/lib/mingw/i686-pc-mingw32/lib/libstdc++.la \
# %i/lib/mingw/i686-pc-mingw32/lib/libsupc++.la
#/bin/rm -f %i/lib/mingw/i686-pc-mingw32/lib/libs{td,up}c++.la.finkbak
/bin/rm -f %i/lib/mingw/lib/libiberty.a
/bin/rm -f %i/share/info/standards.info
/bin/rm -f %i/share/info/configure.info*
/bin/rm -rf %i/share/man/man7
for file_name in %i/share/info/*; do
new_file_name=`/bin/echo ${file_name} |
/usr/bin/sed -e "s|%i/share/info/|%i/share/info/i686-pc-mingw32-|g"`
mv ${file_name} ${new_file_name}
done
<<
DocFiles: COPYING* ChangeLog MAINTAINERS README*
Homepage: http://gcc.gnu.org/
DescPort: <<
Like 'avr-gcc' package, lib & include folders have been moved to
/sw/share/mingw and the binaries are put into /sw/bin .
All xxx.info files renamed to i686-pc-mingw32-xxx.info to avoid clashes
with other potential toolchains.
TODO: Native Language Support
<<
DescUsage: <<
1. Write a code.
$ cat > hello.c
#include <windows.h>
int WINAPI WinMain (HINSTANCE hInstance,
HINSTANCE hPrevInstance,
PSTR szCmdLine,
int iCmdShow)
{
MessageBox (NULL, "Hello World!", "Hello", MB_OK);
return (0);
}
^C
2. Compile.
$ i686-pc-mingw32-gcc -o hello.exe hello.c -mwindows
3. Run.
<<
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits