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] |
Other format: | [Raw text] |
I'm trying to use autoconf/automake to make a configure who will do cross compile.
My system is RedHat7.2, and I'm using a toolchain from Arcom for the Viper ARM devel kit.
I cant get my ./configure to use the arm-linux-gcc (and so on), it keeps using the gcc whatever I try to do.
Traditionally, one does this in one of two ways: a) ./configure --target arm-linux (which causes CC to default to arm-linux-gcc, I think) b) CC=arm-linux-gcc ./configure (which sets CC directly)
Seldom does anyone hardcode CC or target into configure scripts; the intent is to make things portable, so the builder can always pick a different CC or target. - Dan
------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |