This is the mail archive of the crossgcc@sourceware.org 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] |
Hello friends, I successfully created a compiler using crosstool by Dan Kegel for a 64 bit machine. Using the new built compiler I am able to create binaries on 32 bit machine which run successfully on a 64 bit machine but not 32 bit. However when I copied my x86_64-unknown-linux-gnu-gcc to the 64 bit machine and tried to compile a simple hello world program I got errror as SLESAMD64:/tmp # ./x86_64-unknown-linux-gnu-gcc -o manish temp.c x86_64-unknown-linux-gnu-gcc: installation problem, cannot exec `cc1': No such file or directory Doing a strace on that binary file showed me that this is a 32 bit file :-( . Have I made mistake anywhere?. I wanted to build a compiler on 32 bit machine which can be copied/packaged on a 64 bit machine and compile successfully but it seems I have made a compiler which will run on a 32 bit machine and create binaries for 64 bit machine. Please help I dont understand what to do. SLESAMD64:/tmp # strace ./x86_64-unknown-linux-gnu-gcc execve("./x86_64-unknown-linux-gnu-gcc", ["./x86_64-unknown-linux-gnu-gcc"], [/* 51 vars */]) = 0 [ Process PID=21560 runs in 32 bit mode. ] x86_64-unknown-linux-gnu-gcc: no input files -- Thanks & Regards, ******************************************** Manish Katiyar Ozone 2, SP Infocity (Software Park), New Survey #208 Manjari Stud Farms Ltd., Phursungi Village, Haveli Taluka, Saswad Road, Hadapsar, Pune - 412308, India *********************************************** ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.org
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |