I'm working on setting up a cross compiler and according to the tutorial I need binutils. So I downloaded the package, untared it, and I ran the commands:
export PREFIX=/usr/cross
export TARGET=i586-elf
cd /usr/src/build-binutils
../binutils-2.19/configure --target=$TARGET --prefix=$PREFIX --disable-nls
make all
make install
make check
I'm using Cygwin on Windows XP. The make check shows me some errors but I have no clue what to do... Should I copy and part of the output of make check or should I post the config.log. I'm new to all of this so I don't really know...
Errors Building binutils 2.19
- xenos
- Member
- Posts: 1121
- Joined: Thu Aug 11, 2005 11:00 pm
- Libera.chat IRC: xenos1984
- Location: Tartu, Estonia
- Contact:
Re: Errors Building binutils 2.19
Posting the errors would certainly be a good idea, so others can see what's going wrong.
Re: Errors Building binutils 2.19
I admit I have never tried 'make check'.gsingh2011 wrote:The make check shows me some errors but I have no clue what to do...
Every good solution is obvious once you've found it.
Re: Errors Building binutils 2.19
As far as I'm concerned, if everything else but 'make check' fails and you've checked that the /usr/cross/bin folder contains all the executables 'i586-elf-ar', 'i586-elf-gcc', etc. don't worry about it .Solar wrote:I admit I have never tried 'make check'.gsingh2011 wrote:The make check shows me some errors but I have no clue what to do...
When the chance of succeeding is 99%, there is still a 50% chance of that success happening.
- xenos
- Member
- Posts: 1121
- Joined: Thu Aug 11, 2005 11:00 pm
- Libera.chat IRC: xenos1984
- Location: Tartu, Estonia
- Contact:
Re: Errors Building binutils 2.19
What does "make check" check, anyway? Probably it checks whether the cross compiler can create executables - which is certainly not true, since there are no startup files or libraries to link an executable. But that doesn't matter since it is not intended to create executables, but to create some standalone os kernel, which is a completely different thing.