This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

RE: Version correspondance




> My working development environment is binutils-2.10 and gcc-2.95.2 
> --host=i686-pc-linux-gnu --target=arm-elf

Okay, that's exactly what I want to do (well, I have binutils-2.10.1,
but I doubt very much that would make any difference)

> What problems are you running into?
> What's your host?

So, my host is a PC/Linux. I untar binutils, gcc and newlib, then
copy them all in a src/ directory:

cp -R gcc-2.95.2/* src
cp -R binutils-2.10.1/* src
cp -R newlib-1.8.2/* src

and call the building script:
sh build-cross.sh arm-elf

and eventually I get:

../../src/gcc/collect2.c:56: conflicting types for `make_temp_file'
../../src/gcc/../include/libiberty.h:69: previous declaration of
`make_temp_file'
../../src/gcc/collect2.c: In function `write_c_file_stat':
../../src/gcc/collect2.c:1996: warning: unused parameter `name'
../../src/gcc/collect2.c: In function `write_c_file_glob':
../../src/gcc/collect2.c:2131: warning: unused parameter `name'
     

I tried several variants of this, but always end up running in undefined
symbols, or different prototypes of functions, which made me think
that maybe I can't build any version of binutils with any version of
gcc (apparently I'm wrong there).

Note that the above method works with binutils-2.9 and
--target=arm-aout.

Any idea?

Cheers,
Yves





------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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