[adtools] Re: binutils update

  • From: Josef Wegner <Josef.Wegner@xxxxxxxxxxx>
  • To: adtools@xxxxxxxxxxxxx
  • Date: Tue, 15 Nov 2005 08:30:31 +0100

Hi,

first of all, thank you very much for your time and help (especially
Gunther).

So... I was able to compile gcc-3.4.0 (with GG patches) with an old
version of binutils and gcc-4.0.2. I think compiling without "-g" did
the trick.

I have still no clue why it did not work with the CVS binutils version.

And the CVS binutils still does not compile. I removed my working copy
and checked everything out again, but I still get

../../binutils/gas/config/tc-m68k.h:219: error: array type has
incomplete element type

And yes, "struct relax_type" is in binutils/gas/as.h.


About the problems with gcc-3.4.4. I did use what Gunther said:

export PATH=/usr/local/amiga/bin:$PATH
CFLAGS= CXXFLAGS= ../gcc-3.4.0-gg/configure --prefix=/usr/local/amiga
--disable-nls --enable-languages=c,c++,objc --with-headers=yes
--target=m68k-amigaos
make configure-host
make CFLAGS="-O2" CXXFLAGS="-O2"

I try again today. Perhaps there is just a problem with cygwin.

Thanks again,
-Josef

Am Montag, den 14.11.2005, 17:58 +0100 schrieb Nicolas A. Mendoza:
> On Mon, 14 Nov 2005, Josef.Wegner@xxxxxxxxxxx wrote:
> 
> >>>>   The GG patches for 3.4.0 on 3.4.0 did work for me.
> >>>
> >>> Thanks, that is what I wanted to know. Only one more question. What
> >>> configure settings did you use?
> >>
> >> This is for a cross build:
> >>
> >> CFLAGS= CXXFLAGS= ../gcc-3.4.0-gg/configure --prefix= --disable-nls
> > --enable-languages=c,c++ --with-headers=yes --target=m68k-amigaos
> >> gmake configure-host
> >> gmake CFLAGS="-O2" CXXFLAGS="-O2"
> >
> > Sorry to brother you again. No I get following while compiling
> > gcc/m68k-amigaos/libiberty:
> >
> > <snip>
> > checking for egrep... grep -E
> > checking for ANSI C header files... yes
> > checking for sys/types.h... yes
> > checking for sys/stat.h... (cached) yes
> > checking for stdlib.h... (cached) yes
> > checking for string.h... (cached) yes
> > checking for memory.h... yes
> > checking for strings.h... (cached) yes
> > checking for inttypes.h... no
> > checking for stdint.h... no
> > checking for unistd.h... (cached) yes
> > checking for uintptr_t... no
> > checking for pid_t... yes
> > checking for library containing strerror... configure: error: Link tests
> > are not allowed after GCC_NO_EXECUTABLES.
> > make: *** [configure-target-libiberty] Error 1
> >
> > It would great if you could help with this one.
> >
> 
> Check config.log and see what is the actual error.
> 
> Not sure about what it means about link tests, but checking for strerror 
> should be possible without running anything when cross compiling.
> 
______________________________________________________________________________
Amiga Development tools ML - //www.freelists.org/list/adtools
Homepage...................: http://www.sourceforge.net/projects/adtools
Listserver help............: mailto:adtools-request@xxxxxxxxxxxxx?Subject=HELP

Other related posts: