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] |
Hi all, I have been trying to do a linux hosted crossgcc build using msdosdjgpp as the target and I have run into a hitch and am hoping someone can shed some light. I am using djcrx203 (DJGPP V2 Cross-to-DOS Compiler Support Files), binutils-2.13. and gcc-3.2. With the djcrx-2.03 libraries in place (including some updates from djdev203_u2) and with a cross-binutils-2.13 in place I get the following errors (see below) when trying to 'make all' Note: I have tried 'make all' with 2.95.3 and 3-2 native compilers and get the same errors as shown below. If I build with 'make all-gcc' the compile completes successfully, but I have no built C++ standard library. With this build, I can create dos executables from linux, but none of the C++ headers are available. All of the compiler binaries are present, however. Compiler log using 'make all' In file included from /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/in clude/bits/locale_facets.h:63, from /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/in clude/bits/basic_ios.h:41, from /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/in clude/ios:51, from /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/in clude/istream:44, from /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/in clude/fstream:45, from ./../../../gcc-3.2-src/libstdc++-v3/src/globals.cc:30: /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/in clude/i686-pc-msdosdjgpp/bits/ctype_base.h:46: ` _U' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/in clude/i686-pc-msdosdjgpp/bits/ctype_base.h:47: ` _L' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/in clude/i686-pc-msdosdjgpp/bits/ctype_base.h:48: ` _U' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/in clude/i686-pc-msdosdjgpp/bits/ctype_base.h:48: ` _L' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/in clude/i686-pc-msdosdjgpp/bits/ctype_base.h:49: ` _N' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/in clude/i686-pc-msdosdjgpp/bits/ctype_base.h:50: ` _X' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/in clude/i686-pc-msdosdjgpp/bits/ctype_base.h:50: ` _N' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/in clude/i686-pc-msdosdjgpp/bits/ctype_base.h:51: ` _S' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/in clude/i686-pc-msdosdjgpp/bits/ctype_base.h:52: ` _P' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/in clude/i686-pc-msdosdjgpp/bits/ctype_base.h:52: ` _U' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/in clude/i686-pc-msdosdjgpp/bits/ctype_base.h:52: ` _L' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/in clude/i686-pc-msdosdjgpp/bits/ctype_base.h:52: ` _N' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/in clude/i686-pc-msdosdjgpp/bits/ctype_base.h:52: ` _B' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/in clude/i686-pc-msdosdjgpp/bits/ctype_base.h:53: ` _P' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/in clude/i686-pc-msdosdjgpp/bits/ctype_base.h:53: ` _U' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/in clude/i686-pc-msdosdjgpp/bits/ctype_base.h:53: ` _L' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/in clude/i686-pc-msdosdjgpp/bits/ctype_base.h:53: ` _N' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/in clude/i686-pc-msdosdjgpp/bits/ctype_base.h:54: ` _C' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/in clude/i686-pc-msdosdjgpp/bits/ctype_base.h:55: ` _P' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/in clude/i686-pc-msdosdjgpp/bits/ctype_base.h:56: ` _U' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/in clude/i686-pc-msdosdjgpp/bits/ctype_base.h:56: ` _L' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/in clude/i686-pc-msdosdjgpp/bits/ctype_base.h:56: ` _N' was not declared in this scope make[3]: *** [globals.lo] Error 1 make[3]: Leaving directory `/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/s rc' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3' make[1]: *** [all-recursive-am] Error 2 make[1]: Leaving directory `/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3' make: *** [all-target-libstdc++-v3] Error 2 Any ideas what can be done to correct this problem? Charles Wilkins p.s. Output for g++ -Wl,--verbose Here is what is being linked or attempted to be linked... /usr/local/compiler/cross/gcc-3.2/i686-pc-msdosdjgpp/bin/ld: cannot find -lstdcxx GNU ld version 2.13 Supported emulations: i386go32 cannot find script file djgpp.djl cannot find script file /usr/local/compiler/cross/gcc-3.2/lib/gcc-lib/i686-pc-msdosdjgpp/3.2/djgpp.d jl opened script file /usr/local/compiler/cross/gcc-3.2/lib/gcc-lib/i686-pc-msdosdjgpp/3.2/../../. ./../i686-pc-msdosdjgpp/lib/djgpp.djl using external linker script: ================================================== OUTPUT_FORMAT("coff-go32") ENTRY(start) SECTIONS { .text 0x1000+SIZEOF_HEADERS : { *(.text) *(.gnu.linkonce.t*) *(.gnu.linkonce.r*) etext = . ; _etext = .; . = ALIGN(0x200); } .data ALIGN(0x200) : { djgpp_first_ctor = . ; *(.ctor) djgpp_last_ctor = . ; djgpp_first_dtor = . ; *(.dtor) djgpp_last_dtor = . ; *(.data) *(.gnu.linkonce.d*) *(.gcc_exc*) ___EH_FRAME_BEGIN__ = . ; *(.eh_fram*) ___EH_FRAME_END__ = . ; LONG(0) edata = . ; _edata = .; . = ALIGN(0x200); } .bss SIZEOF(.data) + ADDR(.data) : { _object.2 = . ; . += 24 ; *(.bss) *(COMMON) end = . ; _end = .; . = ALIGN(0x200); } } ================================================== attempt to open /usr/local/compiler/cross/gcc-3.2/lib/gcc-lib/i686-pc-msdosdjgpp/3.2/../../. ./../i686-pc-msdosdjgpp/lib/crt0.o succeeded /usr/local/compiler/cross/gcc-3.2/lib/gcc-lib/i686-pc-msdosdjgpp/3.2/../../. ./../i686-pc-msdosdjgpp/lib/crt0.o attempt to open /usr/local/compiler/cross/gcc-3.2/lib/gcc-lib/i686-pc-msdosdjgpp/3.2/libstdc xx.a failed attempt to open /usr/local/compiler/cross/gcc-3.2/lib/gcc-lib/i686-pc-msdosdjgpp/3.2/../../. ./../i686-pc-msdosdjgpp/lib/libstdcxx.a failed attempt to open /usr/local/compiler/cross/gcc-3.2/i686-pc-msdosdjgpp/lib/libstdcxx.a failed collect2: ld returned 1 exit status ------ 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] |