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] |
>-----Original Message----- >From: Hansjörg Petriffer [mailto:hpetriffer@grips.com] >Sent: 19 March 2001 08:42 >To: crossgcc@sourceware.cygnus.com Sorry, Hansjörg; I began writing this the first time you asked the question and then forgot about it in my drafts folder. >I have already compiled one cross compiler and I want use this two for >different projects. >The only thing that I'm not sure here, is that the first compiler I have >made with > >/src/gcc/gcc-YYYYMMDD/configure --target=mn10300-elf \ >--prefix=/tools \ >--exec-prefix=/tools/H-i686-pc-cygwin \ >--with-gnu-as --with-gnu-ld --with-newlib \ >-v 2>&1 | tee configure.out > >can I now use also > >cd /tmp/build/gcc >/src/gcc/gcc-2.95.2/configure --target=i386-elf \ >--prefix=/tools \ >--exec-prefix=/tools/H-i686-pc-cygwin \ >--with-gnu-as --with-gnu-ld --with-newlib \ >-v 2>&1 | tee configure.out > >or I have to use an path different to /tools? That will be fine. Different targets and different version numbers of the gcc compiler don't (in general) interfere with each other. The way this works is that gcc keeps all the target and version specific files in separate subdirectories of $prefix/lib/gcc-lib; these are named according to the scheme $prefix/lib/gcc-lib/$target/$version. and you can then select any target by supplying the '-b' option to the gcc command, or by using the driver named $target-gcc. Are you using the --exec-prefix for any reason other than because that's how old (beta) versions of cygwin are set up ? DaveK -- All your base are belong to us! ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.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] |