All Forums |
Register |
Login |
Search |
Subscriptions |
My Profile |
Inbox |
Tool Warehouse |
FAQs |
Resources |
Help |
Member List |
Address Book |
Logout |
|
|
Gnat ADA on SFU 3.5
|
Logged in as: Guest |
Users viewing this topic: none |
|
Login  |
|
|
Gnat ADA on SFU 3.5 - Nov. 18, '05, 7:07:31 AM
|
|
|
chrisp
Posts: 1
Joined: Oct. 24, '05,
Status: offline
|
Is there a way to get GCC3.3 (or 3.4.4) to build on Interix with ADA support?
I did a google search and found a cached page (on the interop systems site) mentioning the following:
quote:
Do you support ADA?
Ada Core Technologies (ACT) has ported GNAT Ada 95 compiler to INTERIX on Windows NT.
I have installed the Win32 version of GNAT3.15 and tried to use this installation to build a Native GCC with ada support. i.e. Calling the win32 gnat executables for the GCC build.
The build process goes through fine, but I'm unable to:
make -C gcc gnatlib gnattools
For some reason it does not know about the build rules: gnatlib and gnattools
I've created soft links to the *.exe files without extensions thinking this could be the problem.
But with no luck ... 
Cheers,
Chris
Here is my setup:
OS:
Windows 2000 SP3
PKG_INFO:
autoconf-2.59.2-bin
automake-1.9.5-bin
bash-3.0.0.5-bin
bison-1.875.1-bin
env_cflags_gcc-1.0.2-bin
env_cppflags_local-1.2.3-bin
env_etc_irsconf-1.0-bin
env_ldflags_local-1.0.3-bin
env_ldlibrarypath_local-1.0.2-bin
env_manpath_local-1.0.7-bin
env_manpath_localshare-1.0.1-bin
env_path_local-1.0.4-bin
flex-2.5.4b-bin
ftp-3.5g-bin
gettext-0.14.1.8.1-bin
glib-2.4.0.3-bin
gmake-3.80.1-bin
grep-1.1-bin
gzip-1.3.3.10.1-bin
libiconv-1.9.2.3-bin
libncurses-5.4-bin
libtool-1.5.6-bin
ls-1.2.2-bin
m4_gnu-1.4.3-bin
pax-1.5.3-bin
perl-5.8.3.1-bin
pkg-2.5.1-bin
pkgconfig-0.15.0.1-bin
yacc-1.1-bin
|
|
|
RE: Gnat ADA on SFU 3.5 - Nov. 18, '05, 10:26:50 AM
|
|
|
jumphigh
Posts: 61
Joined: Jul. 10, '04,
From: Germany
Status: offline
|
I made the new GCC-4.0.2 for Interix. My packages are in the beta directory.
I tried to enable every language, but ADA needs ADA to compile its GCC frontend??? So there's no way to build ADA just with the Interix GCC. But you can compile it with the Win32 ADA compiler to get the object files and link them in Interix to get an ADA compiler. But unfortunately I guess you need libada to link with. And we have no libada so far.
But if I'm wrong, to link the objects use:
gcc -static -o gnat -lgcc -lc -lpsxdll "list of your objects" crt0.o
Maybe you get GNAT and then you're able to build libada inside Interix with make/gmake.
Andreas
PS: Can be that libada is just a lib written in C. So we can use GCC for libada, and build the GNAT objects with the Win32 GNAT. Then we link inside Interix. I will check it out.
< Message edited by jumphigh -- Nov. 19, '05, 2:59:56 PM >
|
|
|
RE: Gnat ADA on SFU 3.5 - Nov. 19, '05, 8:08:32 AM
|
|
|
mirabile
Posts: 2
Joined: Jun. 8, '05,
Status: offline
|
quote:
ORIGINAL: jumphigh
Can be that libada is just a lib written in C.
No, it's part C and (much larger) part Ada.
But your approach is good. My approach regarding Ada (not on Interix tho)
was, to build a cross-compiler from a system with native gnat-3.2 (I was
porting gcc-3.2 back then), which sort of worked, but only with much effort.
_____________________________
Head Developer - MirOS Project
http://MirBSD.de/
|
|
|
RE: Gnat ADA on SFU 3.5 - Nov. 21, '05, 3:30:50 PM
|
|
|
jumphigh
Posts: 61
Joined: Jul. 10, '04,
From: Germany
Status: offline
|
Have you tried gmake instead of make? I ran in trouble when using make for GCC 4 Makefiles.
Andreas
|
|
|
RE: Gnat ADA on SFU 3.5 - Nov. 24, '05, 12:22:59 PM
|
|
|
jumphigh
Posts: 61
Joined: Jul. 10, '04,
From: Germany
Status: offline
|
I loaded GNAT for Win32 and invoked it for the GCC 4 package. I got a ADA enabled GCC, but it can't build the ADA runtime (libada) without an internal compiler error. So I really don't know what to do.
It's the same with Java. I got the compiler frontend, but the build of the runtime (libjava) stops with a compiler seg fault.
It's a mess...
Andreas
< Message edited by jumphigh -- Nov. 24, '05, 12:28:24 PM >
|
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
|
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts |
|
|
|