public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Installation of GCC 2.72 on ms-dos
@ 2000-01-06  6:55 Morten Boll
  2000-01-06 17:27 ` Andrei A. Dergatchev
  2000-04-01  0:00 ` Morten Boll
  0 siblings, 2 replies; 6+ messages in thread
From: Morten Boll @ 2000-01-06  6:55 UTC (permalink / raw)
  To: help-gcc

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Installation of GCC 2.72 on ms-dos
  2000-01-06  6:55 Installation of GCC 2.72 on ms-dos Morten Boll
@ 2000-01-06 17:27 ` Andrei A. Dergatchev
  2000-01-07  6:46   ` per jonhanesen
  2000-04-01  0:00   ` Andrei A. Dergatchev
  2000-04-01  0:00 ` Morten Boll
  1 sibling, 2 replies; 6+ messages in thread
From: Andrei A. Dergatchev @ 2000-01-06 17:27 UTC (permalink / raw)
  To: help-gcc

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" <boll@boll.com>
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
>
>
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Installation of GCC 2.72 on ms-dos
  2000-01-06 17:27 ` Andrei A. Dergatchev
@ 2000-01-07  6:46   ` per jonhanesen
  2000-04-01  0:00     ` per jonhanesen
  2000-04-01  0:00   ` Andrei A. Dergatchev
  1 sibling, 1 reply; 6+ messages in thread
From: per jonhanesen @ 2000-01-07  6:46 UTC (permalink / raw)
  To: help-gcc

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1172 bytes --]

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 <A.Dergatchev@tn.utwente.nl> 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" <boll@boll.com>
> 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
> >
> >
> >
>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Installation of GCC 2.72 on ms-dos
  2000-01-07  6:46   ` per jonhanesen
@ 2000-04-01  0:00     ` per jonhanesen
  0 siblings, 0 replies; 6+ messages in thread
From: per jonhanesen @ 2000-04-01  0:00 UTC (permalink / raw)
  To: help-gcc

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1172 bytes --]

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 <A.Dergatchev@tn.utwente.nl> 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" <boll@boll.com>
> 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
> >
> >
> >
>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Installation of GCC 2.72 on ms-dos
  2000-01-06  6:55 Installation of GCC 2.72 on ms-dos Morten Boll
  2000-01-06 17:27 ` Andrei A. Dergatchev
@ 2000-04-01  0:00 ` Morten Boll
  1 sibling, 0 replies; 6+ messages in thread
From: Morten Boll @ 2000-04-01  0:00 UTC (permalink / raw)
  To: help-gcc

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Installation of GCC 2.72 on ms-dos
  2000-01-06 17:27 ` Andrei A. Dergatchev
  2000-01-07  6:46   ` per jonhanesen
@ 2000-04-01  0:00   ` Andrei A. Dergatchev
  1 sibling, 0 replies; 6+ messages in thread
From: Andrei A. Dergatchev @ 2000-04-01  0:00 UTC (permalink / raw)
  To: help-gcc

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" <boll@boll.com>
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
>
>
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2000-04-01  0:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-06  6:55 Installation of GCC 2.72 on ms-dos Morten Boll
2000-01-06 17:27 ` Andrei A. Dergatchev
2000-01-07  6:46   ` per jonhanesen
2000-04-01  0:00     ` per jonhanesen
2000-04-01  0:00   ` Andrei A. Dergatchev
2000-04-01  0:00 ` Morten Boll

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).