From mboxrd@z Thu Jan 1 00:00:00 1970 From: "per jonhanesen" To: help-gcc@gnu.org Subject: Re: Installation of GCC 2.72 on ms-dos Date: Sat, 01 Apr 2000 00:00:00 -0000 Message-ID: References: <8529fg$qk0$1@news.net.uni-c.dk> <38753fa3.46216045@news.nic.utwente.nl> X-SW-Source: 2000-q1/msg00090.html Message-ID: <20000401000000.rRwV8yz-JWs1DWr6n31aiORQbnPB67_H5crgIR6ln4Q@z> Thanks for the answer. We needed to state the libraries to link to to the linker. ld .... /llibname. Isn´t djgpp 32-bit for windows developer environment ? We are using a m68k cross compiler (gcc-m68k for DOS), so I dont think using djgpp is a good idea ! Does anyone know if it is difficult to make this cross-compiler compile C++ code and link it with ld ? Morten Boll, Master Student in CS at DIKU Uni. of Copenhagen Andrei A. Dergatchev wrote in message news: 38753fa3.46216045@news.nic.utwente.nl ... > I want to ask in > > comp.os.msdos.djgpp > > (or check deja for that NG) > > HTH > > Andrei > > On Thu, 6 Jan 2000 03:44:39 +0100, "Morten Boll" > wrote: > > >Does ne1 know of a good installation guide for installation of GNU GCC > >compiler accessible on the net? > > > >We have copied all the files to "C:\GCC" - but whenever we try to compiles > >it comes with a linker error, like > > hello.o(.text+0x12):hello.c: undefined reference to `__main' > > hello.o(.text+0x1c):hello.c: undefined reference to `printf' > > > >Any help would be appreciated, thnx > > > >/Kasper and Morten > > > > > > >