This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC 3.2.2 Cygwin to i386-elf cross compiler


Ok, lets try that again.

I am about to write the Kernel for an operating system that I am writing and
I would like to use the GCC on cygwin, but I need to output ELF files rather
than PE. I have never tried to compile GCC before and I am having a problem
getting it to build.

I have tried going step by step through the GCC Installation Manual but when
building GCC full distribution I get this error:

[i386.o] Error 1
[make-all] Error 2

and make quits.

I have also tried simply:
./configure --target=i386-elf
make

and got the same error.

What am I doing wrong?

I have made many google seaches and I can't find any sources on making
cross-compilers on Cygwin, if you know of any good resouces please could you
let me know.

I am running Cygwin Release 1.3.21-1 On Windows XP Profesional and I am
trying to install gcc 3.2.2.

Thank you for your time
Steven Graham









"Max Bowsher" <maxb at ukf dot net> wrote in message
news:01ae01c2ebd1$af2624c0$78d96f83 at pomello dot  dot  dot 
> Steve Graham wrote:
> > Hi
> >
> > I am using GCC in cygwin and I want' to prorgams based on the i386-elf
> > format like in linux. I am having troubles building it though
> >
> > I have tried
> >
> > binutils:
> > ./configure --target=i386-elf
> > make
> > make install
> > OK
> >
> > GCC whole distribution:
> > ./configure --target=i386-elf
> > make
> >
> > But when building GCC I just get Error 2 on i386.o
> > then it exits with Error 1.
> >
> > How do I build a cross compiler from cygwin to elf, what am I doing
> > wrong?
>
> Providing far far too little info for anyone to help.
>
> Read http://cygwin.com/bugs.html and the "smart questions" link from
there.
>
> Max.
>
>




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]