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] |
Good Morning: I'm working on a RedHat 5.2 system trying to create a cross compiler with a target of i486-pc-sco3.2v5.0. I have been working on this for about 4 weeks now. I am using gcc-2.7.2.3 and binutils-2.9.1.0.15. I am uisng these particular versions because they are the default on my RedHat 5.2 system. First, I configure binutils with --target=i486-pc-sco3.2v5.0. I compile and install it. Next, I configure gcc with --target=i486-pc-sco3.2v5.0. I compile and install it. Ok, I'm excited; this thing may work! No, it does not. When I try to compile a simple hello world program, I get the following: [terry@esc terry]$ i486-pc-sco3.2v5.0-gcc -v -o hello hello.c Reading specs from /usr/local/lib/gcc-lib/i486-pc-sco3.2v5.0/2.7.2.3/specs gcc version 2.7.2.3 /usr/local/lib/gcc-lib/i486-pc-sco3.2v5.0/2.7.2.3/cpp -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=7 -Dunix -Di386 -DM_UNIX -DM_I386 -DM_COFF -DM_WORDSWAP -D__unix__ -D__i386__ -D__M_UNIX__ -D__M_I386__ -D__M_COFF__ -D__M_WORDSWAP__ -D__unix -D__i386 -D__M_UNIX -D__M_I386 -D__M_COFF -D__M_WORDSWAP -Asystem(unix) -Asystem(svr3) -Acpu(i386) -Amachine(i386) hello.c /tmp/cca06935.i [terry@esc terry]$ i486-pc-sco3.2v5.0-gcc -v -o hello hello.c Reading specs from /usr/local/lib/gcc-lib/i486-pc-sco3.2v5.0/2.7.2.3/specs gcc version 2.7.2.3 /usr/local/lib/gcc-lib/i486-pc-sco3.2v5.0/2.7.2.3/cpp -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=7 -Dunix -Di386 -DM_UNIX -DM_I386 -DM_COFF -DM_WORDSWAP -D__unix__ -D__i386__ -D__M_UNIX__ -D__M_I386__ -D__M_COFF__ -D__M_WORDSWAP__ -D__unix -D__i386 -D__M_UNIX -D__M_I386 -D__M_COFF -D__M_WORDSWAP -Asystem(unix) -A system(svr3) -Acpu(i386) -Amachine(i386) hello.c /tmp/cca06941.iGNU CPP version 2.7.2.3 (80386, ATT syntax) #include "..." search starts here: #include <...> search starts here: /usr/local/lib/gcc-lib/i486-pc-sco3.2v5.0/2.7.2.3/include /usr/local/lib/gcc-lib/i486-pc-sco3.2v5.0/2.7.2.3/sys-include /usr/local/i486-pc-sco3.2v5.0/includeEnd of search list. /usr/local/lib/gcc-lib/i486-pc-sco3.2v5.0/2.7.2.3/cc1 /tmp/cca06941.i -quiet -dumpbase hello.c -version -o /tmp/cca06941.sGNU C version 2.7.2.3 (80386, ATT syntax) compiled by GNU C version 2.7.2.3. /usr/local/i486-pc-sco3.2v5.0/bin/as -o /tmp/cca069411.o /tmp/cca06941.s /usr/local/i486-pc-sco3.2v5.0/bin/ld -o hello /usr/local/i486-pc-sco3.2v5.0/lib/crt1.o /usr/local/lib/gcc-lib/i486-pc-sco3.2v5.0/2.7.2.3/crtbegin.o -L/usr/local/lib/gcc-lib/i486-pc-sco3.2v5.0/2.7.2.3 -L/usr/local/i486-pc-sco3.2v5.0/lib /tmp/cca069411.o -lgcc -lc -lgcc /usr/local/lib/gcc-lib/i486-pc-sco3.2v5.0/2.7.2.3/crtend.o /usr/local/i486-pc-sco3.2v5.0/lib/crtn.o /usr/local/i486-pc-sco3.2v5.0/lib/libc.a(_findbuf.o)(.text+0x5d):_findbuf.c: undefined reference to `st_fstat32' /usr/local/i486-pc-sco3.2v5.0/lib/libc.a(_findbuf.o)(.text+0x6e):_findbuf.c: undefined reference to `malloc' /usr/local/i486-pc-sco3.2v5.0/lib/libc.a(values-Xm.o)(.data+0x8):values-Xm.c: undefined reference to `_runtime_env' The libc.a referenced above is right off the SCO box. I have searched every header, object file, and library on the SCO box using "strings" and "grep". The value "_runtime_env" It does not show up anywhere except libc.a referenced above. Does anyone have any idea why I'm getting these three errors? -- Oakwood, GA 30566 USA 770.965.9294 http://www.esc1.com The Gates of hell shall NOT prevail... ------ 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] |