Is GNU Ada active?

This is a discussion on Is GNU Ada active? within the ADA forums in Programming Languages category; Hi group, I am interested in RPMs for AWS and XML/Ada packages. So I want to ask if there are any prepared packages (Fedora 9) or some tips/pointers (beside RPM How-to) how to build these RPMs by myself (and do something for the community )? Tomek...

Go Back   Application Development Forum > Programming Languages > ADA

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 07-30-2008, 11:52 AM
Tomek Walkuski
Guest
 
Default Is GNU Ada active?

Hi group,

I am interested in RPMs for AWS and XML/Ada packages. So I want to ask
if there are any prepared packages (Fedora 9) or some tips/pointers
(beside RPM How-to) how to build these RPMs by myself (and do
something for the community )?

Tomek
Reply With Quote
  #2  
Old 08-03-2008, 05:22 AM
Martin Krischik
Guest
 
Default Re: Is GNU Ada active?

Tomek Walkuski schrieb:

> I am interested in RPMs for AWS and XML/Ada packages. So I want to ask
> if there are any prepared packages (Fedora 9) or some tips/pointers
> (beside RPM How-to) how to build these RPMs by myself (and do
> something for the community )?


There are rpm SPEC files for both AWS and XML/Ada inside the Subversion
repository. You could just try them out and come back with your problems
(or the finished RPM's)

Regards

Martin

--
mailto://krischik@users.sourceforge.net
Ada programming at: http://ada.krischik.com
Reply With Quote
  #3  
Old 08-07-2008, 11:14 AM
Tomek Walkuski
Guest
 
Default Re: Is GNU Ada active?

What is the best way to set ADA_OBJECTS_PATH and so on during
installation in Fedora? Modify /etc/profile?

Reply With Quote
  #4  
Old 08-07-2008, 02:43 PM
Tomek Walkuski
Guest
 
Default Re: Is GNU Ada active?

Ok, maybe it is "dumb" question, but I will risk:

I have done:
1. untar xmlada
2. configure and make in xmlada/
3. copied all *.ali into (for example) /usr/lib/xmlada
4. copied all *.ads and *.adb into /usr/include/xmlada
5. wrote small script a'la gtkada-config which prints paths to
libraries:
gnatmake sample -aI/usr/include/xmlada -iO/usr/lib/xmlada -largs -L/
usr/lib/xmlada

and... sample.adb builds fine, but with with lots of *.ali's and *.o's
in directory.

And my dumb question: how to avoid this?
Reply With Quote
  #5  
Old 08-07-2008, 03:17 PM
Pascal Obry
Guest
 
Default Re: Is GNU Ada active?

Tomek Walkuski a écrit :
> Ok, maybe it is "dumb" question, but I will risk:


[snip]

> And my dumb question: how to avoid this?


Ok, maybe it is a "dumb" answer, but I will risk it:

What about reading the documentation on how to build and install XML/Ada?

Pascal.

--

--|------------------------------------------------------
--| Pascal Obry Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--| http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595
Reply With Quote
  #6  
Old 08-07-2008, 03:22 PM
Tomek Walkuski
Guest
 
Default Re: Is GNU Ada active?

On 7 Sie, 21:17, Pascal Obry <pas...@obry.net> wrote:
> Ok, maybe it is a "dumb" answer, but I will risk it:
>
> What about reading the documentation on how to build and install XML/Ada?
>
> Pascal.
>

Yes, I know, I should set ADA_OBJECTS_PATH and so on, but, in Fedora,
use of environment variables is discouraged. So I try GtkAda approach
with script.
Reply With Quote
  #7  
Old 08-07-2008, 03:40 PM
Jeffrey R. Carter
Guest
 
Default Re: Is GNU Ada active?

Tomek Walkuski wrote:
> Ok, maybe it is "dumb" question, but I will risk:
>
> I have done:
> 1. untar xmlada
> 2. configure and make in xmlada/
> 3. copied all *.ali into (for example) /usr/lib/xmlada
> 4. copied all *.ads and *.adb into /usr/include/xmlada


Where are the *.o files?

> 5. wrote small script a'la gtkada-config which prints paths to
> libraries:
> gnatmake sample -aI/usr/include/xmlada -iO/usr/lib/xmlada -largs -L/
> usr/lib/xmlada
>
> and... sample.adb builds fine, but with with lots of *.ali's and *.o's
> in directory.
>
> And my dumb question: how to avoid this?


In addition to having the *.o files available, you should write-protect the
*.ali files.

--
Jeff Carter
"To Err is human, to really screw up, you need C++!"
Stéphane Richard
63
Reply With Quote
  #8  
Old 08-07-2008, 04:29 PM
Pascal Obry
Guest
 
Default Re: Is GNU Ada active?

Tomek Walkuski a écrit :

> Yes, I know, I should set ADA_OBJECTS_PATH and so on, but, in Fedora,
> use of environment variables is discouraged. So I try GtkAda approach
> with script.


No you should use the project files and the documented way to build and
install XML/Ada:

$ ./configure --prefix=...
$ make

as root:

$ make install

You do not have to copy *.ali/*.ads/*.adb manually!

Pascal.

--

--|------------------------------------------------------
--| Pascal Obry Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--| http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595
Reply With Quote
  #9  
Old 08-07-2008, 05:09 PM
Adam Beneschan
Guest
 
Default Re: Is GNU Ada active?

On Aug 7, 12:22 pm, Tomek Walkuski <tomek.walku...@gmail.com> wrote:

> Yes, I know, I should set ADA_OBJECTS_PATH and so on, but, in Fedora,
> use of environment variables is discouraged.


That last is a pretty amazing assertion---are you sure it's accurate?
I use a Fedora system, and I use environment variables the way I would
on any Linux or other Unix variant (I don't see how you can get by
without them). Who has said environment variables are discouraged,
and where? I mean, if I'm using environment variables but was not
aware that they could increase my risk of system problems or skin
cancer or warts or something, I'd like to know...

-- Adam
Reply With Quote
  #10  
Old 08-07-2008, 11:43 PM
anon
Guest
 
Default Re: Is GNU Ada active?

Try

http://rpmfind.net/linux/rpm2html/se...query=gcc-gnat

They have both source and binaries available for download for (Fedora 9).
Also you can choose from x86_32 or x86_64, or ppc.

"The Fedora Development for xxx" should be GNAT-2008, because they were
added on Aug 1, 2008, using gcc-4.3.1-6. The Fedora 9, version is
GNAT-2007 using gcc-4.3.0-8.

As for the environment variable the binaries RPM set those up for you. If
you build from the source, GNAT uses a the "configure" program, by adding
the command line option " --prefix=/...".


In <02a86743-d112-4831-9650-aac4a9586b51@27g2000hsf.googlegroups.com>, Tomek Walkuski <tomek.walkuski@gmail.com> writes:
>Hi group,
>
>I am interested in RPMs for AWS and XML/Ada packages. So I want to ask
>if there are any prepared packages (Fedora 9) or some tips/pointers
>(beside RPM How-to) how to build these RPMs by myself (and do
>something for the community )?
>
>Tomek


Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 01:33 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.