OSDev.org

The Place to Start for Operating System Developers
It is currently Sun May 19, 2024 4:55 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Problem making toolchain
PostPosted: Sat Nov 24, 2007 1:04 am 
Offline
Member
Member

Joined: Tue Feb 13, 2007 10:46 am
Posts: 62
I am following along in the wiki for building an OS specific toolchain and I have hit a problem.

I double checked that I modified the appropriate files and autoconf and autoreconf in the right places. I can build the cross-compiler just fine (target i386-elf). My new target is (i386-elf-doors). Here is the related error output from the compile.

Code:
/home/thomas/tools/build-gcc/./gcc/xgcc -B/home/thomas/tools/build-gcc/./gcc/ -B/home/thomas/doors-os/cross/i386-elf-doors/bin/ -B/home/thomas/doors-os/cross/i386-elf-doors/lib/ -isystem /home/thomas/doors-os/cross/i386-elf-doors/include -isystem /home/thomas/doors-os/cross/i386-elf-doors/sys-include -O2 -O2 -g -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -I. -I. -I../../gcc-4.2.2/gcc -I../../gcc-4.2.2/gcc/. -I../../gcc-4.2.2/gcc/../include -I../../gcc-4.2.2/gcc/../libcpp/include  -I../../gcc-4.2.2/gcc/../libdecnumber -I../libdecnumber  -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-toplevel-reorder -Dinhibit_libc -fPIC \
          -c ../../gcc-4.2.2/gcc/crtstuff.c -DCRT_BEGIN \
          -o crtbegin.o
exec: 2: -o: not found
make[2]: *** [crtbegin.o] Error 1
make[2]: Leaving directory `/home/thomas/tools/build-gcc/gcc'
make[1]: *** [install-gcc] Error 2
make[1]: Leaving directory `/home/thomas/tools/build-gcc'
make: *** [install] Error 2


I tried editing the makefile by removing the line continuators (and making the statements one line instead of many), but this had no effect (no surprise there though).

The problem seems to be specific to C++. I tried removing the C++ portion of gcc and recompiling , but that did not change anything. I will start a complete rebuild of the toolchain and post the results in the morning.

EDIT: Hmm, just saw the thread on the toolchain. Oh well.

_________________
I have an 80386SX 20MHz 2MB RAM.
It is my testbed platform. Only has the 3.5" and 5.25" floppy drives.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot] and 56 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group