Mail Archives: djgpp/2002/11/06/20:28:30
Date: | Wed, 06 Nov 2002 20:30:15 -0500
|
From: | 2boxers <2boxers AT comcast DOT net>
|
Subject: | Re: problems making linux build/host for target msdosdjgpp
|
To: | djgpp AT delorie DOT com
|
Message-id: | <004201c285fd$3969cb90$021ca8c0@helm>
|
MIME-version: | 1.0
|
X-MIMEOLE: | Produced By Microsoft MimeOLE V5.50.4910.0300
|
X-Mailer: | Microsoft Outlook Express 5.50.4807.1700
|
X-Priority: | 3
|
X-MSMail-priority: | Normal
|
Reply-To: | djgpp AT delorie DOT com
|
I have some new information and may be in the homestretch, but clearly it
isn't time to "fire up the cigar" yet...
Instead of invoking make with 'make', I tried 'make all-gcc' and the compile
completed successfully but did not build the standard library.
I was able to install the cross compiler and am able to compile simple dos
binaries from a very limited selection of 'C'
header files.
Please help me clarify...
What command should I be using to make?
Isn't the standard library (along with all of the non-deprecated header and
STL files for ANSI / ISO C++) supposed to build with the crossgcc build?
Charles
Below is the output for: g++ with the -Wl,--verbose
Note that libstdcxx.a is not found...
/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
- Raw text -