This is the mail archive of the 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]

GCC i586-pc-linux-gnu cross i586-pc-msdosdjgpp won't build.

I've been trying to build a GNU toolchain to compile for DOS (e.g., DJGPP)
and I was able to successfully compile the binutils package, targetted to
i586-pc-msdosdjgpp.  After that I created a directory for building
gcc-3.2.2 in, and went to that directory (~/Download/djgpp/build-gcc), and
started the configure (../gcc-3.2.2/configure
--target=i586-pc-msdosdjgpp)  All was well with that, and I started make.
Well, it has seemingly got a good ways until here:

***Begin Make Output
gcc -DIN_GCC -DCROSS_COMPILE   -g -O2 -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic
-Wno-long-long  -DHAVE_CONFIG_H  -o f771 f/bad.o f/bit.o f/bld.o f/com.o
f/data.o f/equiv.o f/expr.o f/global.o f/implic.o f/info.o f/intrin.o
f/lab.o f/lex.o f/malloc.o f/name.o f/parse.o f/src.o f/st.o f/sta.o
f/stb.o f/stc.o f/std.o f/ste.o f/storag.o f/stp.o f/str.o f/sts.o f/stt.o
f/stu.o f/stv.o f/stw.o f/symbol.o f/target.o f/top.o f/type.o f/version.o
f/where.o main.o libbackend.a   ../libiberty/libiberty.a
f/sts.o(.debug_info+0x876): undefined reference to `.Ldebug_ranges0'
collect2: ld returned 1 exit status
make[1]: *** [f771] Error 1
make[1]: Leaving directory `/home/fd0man/Download/djgpp/build-gcc/gcc'
make: *** [all-gcc] Error 2
***End Make Output

I'm not exactly sure where .Ldebug_ranges0 is supposed to come from, nor
do I know if that's a common build problem when building a cross for DOS.

In the end I want three functional cross compilers, and library sets, and
I'm not sure that I'll ever actually GET all three of them, but I want to
have them, nonetheless.

	i586-pc-linux-gnu cross i586-pc-msdosdjgpp
	i586-pc-linux-gnu cross i586-pc-mingw32

Are the two I'd really like to have.  If possible, I'd like to have a
copy of gcc that will run on my i586-pc-linux-gnu, and compile for
NetBSD/Alpha... what triplet that would be, I'm not certain.

In any case, if anyone can offer any advice, I'm all ears.  I'm hoping
that I've only made a stupid mistake, and that all is really well.

Thanks in advance for any help!

	- Mike

M. Trausch                                           fd0man at yahoo dot com
(419) 837-5217                                 AIM:  MndsQueenyBoi 20
Yahoo:  fd0man                   Web:
"I know not with what weapons World War III will be fought, but World
War IV will be fought with sticks and stones."
                -- Albert Einstein

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to crossgcc-unsubscribe at sources dot redhat dot com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]