Am Donnerstag, 26. Februar 2004 03:45 schrieb Hans Leidekker:
> On Wednesday 25 February 2004 15:06, Stefan Leichter wrote:
> > The problem is that your package expects mingw install in /usr/local/
> > i386-mingw32 but the Redhat one is in /usr/mingw. The error message is
> > attached.
>
> There are two ways out here. One is to change the install path
> to /usr/mingw in the spec file of gcc-mingw. I'm not going to
> do that myself because I think /usr/local/i386-mingw is a better
> choice (gcc-mingw is not part of the core distribution and old
> Unix wisdom says to put such stuff in /usr/local, i386-mingw is
> the official gcc target).
>
> The other way out for you is to install my ming-runtime package as I
> describe on my page that has the stuff in the right place to build
> gcc-mingw as is.
>
I am sorry to tell you that the second way does not work for me. The error 
message is attached (mingw.log). So i switched back to the Redhat version and 
did
cd /usr/local ; ln -s /usr/mingw i386-mingw32
and in /usr/bin i need the links
ln -s mingw-ar i386-mingw32-ar
ln -s mingw-ranlib i386-mingw32-ranlib

Therefore i think the binutils package must be installed before building the 
gcc package.

Than i removed the Redhat packages and installed your runtime and my binutils 
and gcc package and stat'rted building mingw-3.2. This fails with a linker 
error (attached: user.log).

I will try to build mingw-3.2 in the evening.

Bye Stefan


/usr/src/packages/BUILD/gcc-3.2.3-20030504-1/build/gcc/xgcc -B/usr/src/packages/BUILD/gcc-3.2.3-20030504-1/build/gcc/ -nostdinc -B/usr/src/packages/BUILD/gcc-3.2.3-20030504-1/build/i386-mingw32/newlib/ -isystem /usr/src/packages/BUILD/gcc-3.2.3-20030504-1/build/i386-mingw32/newlib/targ-include -isystem /usr/src/packages/BUILD/gcc-3.2.3-20030504-1/newlib/libc/include -B/usr/local/i386-mingw32/bin/ -B/usr/local/i386-mingw32/lib/ -isystem /usr/local/i386-mingw32/include -O2 -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../include  -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions  \
  -Dinhibit_libc -c ../../gcc/crtstuff.c -DCRT_BEGIN \
  -o crtbegin.o
/tmp/ccTU5jXp.s: Assembler messages:
/tmp/ccTU5jXp.s:5: Error: unknown pseudo-op: `.def'
/tmp/ccTU5jXp.s:5: Error: unknown pseudo-op: `.scl'
/tmp/ccTU5jXp.s:5: Error: unrecognized symbol type ""
/tmp/ccTU5jXp.s:5: Warning: rest of line ignored; first ignored character is `3'
/tmp/ccTU5jXp.s:5: Error: unknown pseudo-op: `.endef'
/tmp/ccTU5jXp.s:11: Error: unknown pseudo-op: `.def'
/tmp/ccTU5jXp.s:11: Error: unknown pseudo-op: `.scl'
/tmp/ccTU5jXp.s:11: Error: unrecognized symbol type ""
/tmp/ccTU5jXp.s:11: Warning: rest of line ignored; first ignored character is `3'
/tmp/ccTU5jXp.s:11: Error: unknown pseudo-op: `.endef'
make[1]: *** [crtbegin.o] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/gcc-3.2.3-20030504-1/build/gcc'
make: *** [all-gcc] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.69449 (%build)


RPM build errors:
    user hans does not exist - using root
    group hans does not exist - using root
    Bad exit status from /var/tmp/rpm-tmp.69449 (%build)
i386-mingw32-gcc -Wl,--base-file=mingwthrd.base -B./ -mdll  -Wl,--image-base,0x6FBC0000 -Wl,--entry,[EMAIL PROTECTED] mthr.o mthr_init.o -Lmingwex \
	-o mingwthrd_dummy.exe
/usr/local/lib/gcc-lib/i386-mingw32/3.2.3/../../../../i386-mingw32/bin/ld: cannot find -luser32
make: *** [mingwthrd.def] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.3644 (%build)


RPM build errors:
    user hans does not exist - using root
    group hans does not exist - using root
    user hans does not exist - using root
    group hans does not exist - using root
    user hans does not exist - using root
    group hans does not exist - using root
    user hans does not exist - using root
    group hans does not exist - using root
    user hans does not exist - using root
    group hans does not exist - using root
    Bad exit status from /var/tmp/rpm-tmp.3644 (%build)

Reply via email to