This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more infromation.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hi, I'm a little new to using linux and such. I tried setting CC=/usr/bin/gcc and CC=/usr/bin/cc and CC=gcc and CC=cc, none of which would stop configure from giving me the same message about not being able to find a working compiler. Am I doing something wrong with setting this environment variable? When I type env to show the environment variables, CC only shows up one time. If I do that again, it's not there. Also, the only system compiler I could find was the one under /usr/bin Thanks, Nikita > -----Original Message----- > From: Quality Quorum [SMTP:qqi@world.std.com] > Sent: Tuesday, January 11, 2000 6:29 PM > To: Saxena, Nikita > Cc: 'crossgcc@sourceware.cygnus.com' > Subject: Re: Building a cross compiler for the StrongARM processor in > Pentium/ linux host environment > > > > On Tue, 11 Jan 2000, Saxena, Nikita wrote: > > > > > Hi, > > > > I'm trying to build a cross compiler as mentioned in the subject. > However, > > while binutils builds fine, I'm not having much luck building the cross > > compiler. Before atleast, I would get to the point where it complains > about > > stdlib.h and unistd.h. Now, however, when I tried to build from > scratch, it > > fails while trying to configure the cross compiler. It complains that > it > > can't find a working compiler...I use > > > > /usr/local/src/gcc-2.95.2/configure --target=arm-aout --host=i686-linux > > --enable-languages=c --prefix=/usr/local > > > > Do I need to build a native compiler? What should the CC environment > > variable point to...I mean where is the compiler in the gcc source? > > You have to have working ntive gcc on your linux. Also, it seems > reasonable to use --with-newlib option (you have to get newlib, > naturally). > > > > > Thanks, > > Nikita Saxena > > > > Thanks, > > Aleksey > > > > ------ > Want more information? See the CrossGCC FAQ, > http://www.objsw.com/CrossGCC/ > Want to unsubscribe? Send a note to > crossgcc-unsubscribe@sourceware.cygnus.com ------ 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] |