Raguturtle | 18 Jul 2012 09:40
Picon

[patch, docs] Ada compiler not installed on this system


Hi all,
I installed gcc 4.3.4 on gcc 4.6.3 in fedora 16, after installing  i try to
run ada program got compiler error Ada compiler not installed on this system
.In google got many answers but not workout me, please guide me how to solve
the problem?

Thanks in advance 

Regards
Raghavedra
--

-- 
View this message in context: http://old.nabble.com/Ada-compiler-not-installed-on-this-system-tp34177716p34177716.html
Sent from the Gnat mailing list archive at Nabble.com.
Raguturtle | 11 Jul 2012 06:11
Picon

[patch, docs] New version of gcc craches


Hi All.
 I working on GHDL (An VHDL simulator) project for my purpose i installied
ghdl-0.29-2.143svn.4.fc16.src.rpm (contains ghdl 0.29 +gcc 4.3.4) using rpm
-i and rpmbuild -ba command successfully on fedora 16.After that a small
changes in one Ada program containg ghdl 0.29 folder,next i done make and
make install no error ,next try to execute ada program the it gave error 
"Ada compiler not installed on this system" After whatever on gcc it gave
below error.Attached config.log file
 "checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details"

Before make                       After make
GNAT 4.6.3                        GNAT 4.6.3
gcc 4.6.3                            gcc 4.3.4

Regards
Raghavedra http://old.nabble.com/file/p34143732/config.log config.log 
--

-- 
View this message in context: http://old.nabble.com/New-version-of-gcc-craches-tp34143732p34143732.html
Sent from the Gnat mailing list archive at Nabble.com.
David Barbassat | 5 Jul 2012 09:58
Picon

Difference beetween windows binary execution and linux binary execution

Hello,

I done a little program which take a file (text_io), analyze it and write some datas into files (manage by direct_io).

Under linux the time to execute the analyze is arround 20 seconds and under windows xp 32b : 2 minutes 10 !

Where is the bug ?!

Regards

Nab
Mathieu Dubois | 13 Jun 2012 11:41
Picon

Strange link error

Hello,

I use gnatmake and a GPR file to build a project and I recently faced an 
error that I don't understand.
The problem arose when we moved some stuff in our SVN repository but I 
would be really surprised that this caused the problem.

The situation is as follow. The GPR project is located in a subdirectory 
(say foo/my_project/my_project.gpr). It uses other projects which are 
given by their relative path in with clauses. The project uses the APQ 
2.1 library which is installed in GCC path (apq.ads is in 
/usr/lib/gcc/x86_64-linux-gnu/4.6/rts-native/adainclude/, apq.ali is in 
/usr/lib/gcc/x86_64-linux-gnu/4.6/rts-native/adalib/apq.ali).

Due to the modifications on the repository I have indeed two copies of 
my_project: let's say that the current working is under foo/ and I have 
a unversionned copy under foo_tmp.

Under foo_tmp/my_project everything works fine (gnatmake -P 
my_project.gpr works nicely).
Under foo/my_project the same command leads to a link error:
gnatlink 
/home/duboism/Documents/These/Code/manips/rvg/manips/DB_Handler/objs/test_requestimage.ali 
-shared-libgcc -g -o 
/home/duboism/Documents/These/Code/manips/rvg/manips/DB_Handler/test_requestimage
/usr/lib/gcc/x86_64-linux-gnu/4.6/adalib//libapq.a(apq-postgresql-client.o): 
In function `apq__postgresql__client__host_name':
apq-postgresql-client.adb:(.text+0x6d0): undefined reference to `PQhost'
...

(Continue reading)

Svante Signell | 22 Mar 2012 09:58
Picon

[Fwd: Almost finished porting gnat-4.6 to GNU/Hurd]

Hi, 

I'm forwarding here in hope to get some replies. No response yet from
debian-ada.

Please Cc: me since I'm not subscribed to help-gnat.

Thanks!
-------- Forwarded Message --------
From: Svante Signell <svante.signell <at> telia.com>
Reply-to: svante.signell <at> telia.com
To: debian-ada <at> lists.debian.org
Subject: Almost finished porting gnat-4.6 to GNU/Hurd
Date: Tue, 20 Mar 2012 23:46:21 +0100

Hello,

I have almost completed the cross-build and native-build of gnat-4.6.2
for GNU/Hurd. All debs does now compile and I can create packages
requiring gnat. One problem remains: Tuning the OS-interface routines.
Currently libraries and binaries build, but the binaries fail with
exception code: e.g.
./music123
raised STORAGE_ERROR : s-intman.adb:139 explicit raise

gdb music123 gives:
Program received signal SIGSEGV, Segmentation fault.
0x01050b10 in
system__task_primitives__operations__specific__initializeXnn <at> plt
    () from /usr/lib/i386-gnu/libgnarl-4.6.so.1
(Continue reading)

Nomen Nescio | 28 Feb 2012 13:30
Favicon

gcc-Ada (gnat) for Solaris?

Hello gents. Does anyone have the know-how to build gcc-Ada on Solaris? I
have SPARC and Intel boxes running Solaris 10 and I cannot find a good build
for either of them. I am looking for the LGPL version btw, not GNAT which
Libre Adacore does not offer at any rate for these platforms. TIA
MikeHT | 19 Sep 2009 08:08
Picon
Favicon

[patch, docs] GNAT socket server


I am new to Ada and GNAT.  I have to send data between a Java app and an Ada
app. I'm looking for an Ada server that can receive and send a byte stream.
I can't find any examples. If someone could point me to one I would
appreciated it.

Thanks in advance
Mike
--

-- 
View this message in context: http://www.nabble.com/GNAT-socket-server-tp25518920p25518920.html
Sent from the Gnat mailing list archive at Nabble.com.
Jayson Prichard | 28 Jan 2009 22:59

GNAT GPL 2008 & VC++

Has anyone successfully built the ada_cpp example included with the GNAT
GPL 2008 (C:\GNAT\2008\share\examples\gprbuild\ada_cpp)?  On Windows.
Jayson Prichard | 27 Jan 2009 21:55

VC++ Pragma Import

I have an GNAT GPL 2008 program that calls a VC++ procedure.  I receive a
"undefined reference" link error pointing to the VC++ routine name.

Does anyone know how to pragma import VC++ into GNAT 2008 GPL?
albadmin | 13 Mar 2008 11:52
Picon

[patch, docs] Gnat distributed


I successfully installed Gnat ver 4.0.1 in Windows Vista, along with base
compiler and distributed compiler(gnatdist). 
I am trying now to compile a distributed programm: compilation and partition
creation is ok but while in linking phase an error occours, the message
looks like this: s-finimp is read-only and obsolete try to recompile.
Basically there are some dupplicated libraries used by 'gnatmake' and
'gnatdist' that have different contents (like s-finimp.ali).
I have tried all installation combinations (earlier versions) and it still
gives me this error. 
Any idea ?
--

-- 
View this message in context: http://www.nabble.com/Gnat-distributed-tp16024553p16024553.html
Sent from the Gnat mailing list archive at Nabble.com.
jerome duquennoy | 27 Sep 2007 10:31
Picon

problem with 64 bits binary

Hello,

I have a serious problem with gnat on solaris 9 :

I need to compile my code in 64bits mode.
So, in the gpr file, I added the m64 and RTS=rts-m64 options.
The RTS=rts-m64 don't seem to work, I had to export ADA_INCLUDE_PATH and ADA_OBJECTS_PATH to be able to link my soft.

Now, my code is compiled in 64 bits, and the executable linked. It is seen by the OS as a 64bits sparcv9 binary :

bash-2.05$ file factory 
factory:        ELF 64-bit MSB executable SPARCV9 Version 1, dynamically linked, not stripped

But when I launch the binary, it immediately crashes (core dump).

GDB told me it crashed on b~factory.adb, line 2152 :

Program received signal SIGSEGV, Segmentation fault.
0x0000000100434ea4 in main (argc=0, argv=(system.address) 0x0, envp=(system.address) 0x0) at b~factory.adb:2152
2152       function main

This line is : 

2152:   function main
2153:     (argc : Integer;
2154:      argv : System.Address;
2155:      envp : System.Address)
2156:      return Integer

How can a program crash on the main function header ???
Can the binary code be invalid ?

The 32 bit version executes fine on the same OS, compiled with the same version of gnat (GNAT Pro 5.04a1).

Thanks for your help !
_______________________________________________
help-gnat mailing list
help-gnat <at> gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnat

Gmane