comp.lang.ada
 help / color / mirror / Atom feed
From: hreba <f_hreba@yahoo.com.br>
Subject: Re: cocor_ada: Sets, FileIO?
Date: Wed, 10 Aug 2016 15:06:17 +0200
Date: 2016-08-10T15:06:17+02:00	[thread overview]
Message-ID: <e10n69Fu996U1@mid.individual.net> (raw)
In-Reply-To: <a219870b-2183-4b8d-8ab3-2ecf4e1ddd24@googlegroups.com>

Hi Pascal,

working on a little bit I see that my built doesn't work as well as 
expected. So I am rebuilding coco/r following your hints. I am stuck at 
the last step:

 > gcc cr.o -o acr

I get a large number of "undefined reference errors", starting with

/usr/lib/x86_64-linux-gnu/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
cr.o: In function `_ada_cr':
cr.adb:(.text+0xae): undefined reference to `fileio__write_string'
cr.adb:(.text+0xd9): undefined reference to `fileio__write_string'
cr.adb:(.text+0xe3): undefined reference to `fileio__write_ln'
cr.adb:(.text+0x10e): undefined reference to `fileio__write_string'
...

I see that the missing functions are in the object files in the current 
directory (fileio.o, crt.o, ...) but I don't know how to include them in 
gcc. Any hint?
-- 
Frank Hrebabetzky		+49 / 6355 / 989 5070


  parent reply	other threads:[~2016-08-10 13:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-29 14:40 cocor_ada: Sets, FileIO? hreba
2016-08-02 18:51 ` p.p11
2016-08-03  8:28   ` hreba
2016-08-03 17:41     ` p.p11
2016-08-04 12:08       ` hreba
2016-08-10 13:06       ` hreba [this message]
2016-08-10 16:58         ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox