From: Pascal Obry <p.obry@wanadoo.fr>
Subject: Re: [Fwd: Compile with C code...]
Date: 2000/10/19
Date: 2000-10-19T18:16:48+00:00 [thread overview]
Message-ID: <uy9zksndu.fsf@wanadoo.fr> (raw)
In-Reply-To: 39EF0DB2.35CED1C5@cepsz.unizar.es
Alejandro Villanueva <190921@cepsz.unizar.es> writes:
> Well, these are the steps I perform:
> gcc -c hola.adb
> gnatbind -x hola.ali
> gcc main.c b_hola.o hola.o
This can't work. You try to build an executable containing Ada code without
the GNAT runtime :) :)
Try something like:
$ gcc -c main.c
$ gnatmake hola -largs main.o
Pascal.
--
--|------------------------------------------------------
--| Pascal Obry Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--| http://perso.wanadoo.fr/pascal.obry
--|
--| "The best way to travel is by means of imagination"
next prev parent reply other threads:[~2000-10-19 0:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-10-19 0:00 [Fwd: Compile with C code...] Alejandro Villanueva
2000-10-19 0:00 ` Robert Dewar
2000-10-19 0:00 ` Alejandro Villanueva
2000-10-19 0:00 ` Pascal Obry [this message]
2000-10-19 0:00 ` David C. Hoos, Sr.
2000-10-20 0:00 ` Joel Sherrill
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox