This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


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

host: linux, target: msdos with go32




Hi,

I am trying to build cross compiler form gcc-2.7.2.2 and binutils-2.8.1
and newlib-1.7.1 following cygnus FAQ.

I had to tweak things a little bit: (1)all three component have 
different definitions for go32 target, (2) one of the hunks of
gcc patch would not apply properly.


I was able to build the thing using one-tree-1.4.sh. I tried to compile
hello.c - there was no crt0.o, I tried to use crt0.o which comes
with gjgpp but it is in coff format.


What is the best way to proceed out of following three ?


    1. Change target to i386-coff and then run resulted executables
       through stubify from djgpp/djcrx201

    2. Convert crt0.o to Linux format (what ever it is now).

    3. Get source of crt0.s from dgjpp and compile it with
       tools I had just build.


Thanks

Aleksey