comp.lang.ada
 help / color / mirror / Atom feed
* Let's join forces for GNAT  on MinGW!
@ 2007-03-03 10:49 Martin Krischik
       [not found] ` <E473CA319B6D514981A06AE6742A1FD82B06E3@GLDMS10607.goldlnk.rootlnka.net>
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Krischik @ 2007-03-03 10:49 UTC (permalink / raw)


Vo, Anh (US SSA) wrote:

> I had a similar problem yesterday when it got to Ada rtl. The problem
> was that cygwin did not handle soft link well compared to say Linux. My
> fix was to delete all the soft links for Ada rtl source files and
> replaced with the real files. The latest problem I have is missing
> _spawnvp as shown in the error message below.

We should really join forces for the MinGW compile. The problem you have
just describes is one I have allready fixed and even got a function which
can automate the Fix:

        function Patch_MinGW ()                                                                 # {{{2
                {
                patch                                                                           \
                        --unified                                                               \
                        --strip=1                                                               \
                        --directory=%{Source_Dir_0}                             \
                        --input=../../../SOURCES/%{Patch_File}  ;

                pushd %{Source_Dir_0};                                                          # {{{3
                        # 
                        #       New feature new problems!
                        #
                        find .                                                                                  \
                                -name Makefile.in                                                       \
                                -exec /bin/bash -c Remove_NoExport '{}' ';' ;
                popd;                                                                                           # }}}3

                pushd %{Source_Dir_0}/gcc/ada;                                          # {{{3
                        # 
                        #       GNAT's Makefile ignores the LN and LN_S environment variable.
                        #       We patch the Makefile template so it too will use the cp
                        #       Also we add a / to the rts directory otherwise cp
                        #       gets confused.
                        #
                        set +o errexit
                        ${__exim} -n "Makefile.in" <<-EOF
                                :90,110 substitute !^LN =.*$!LN = cp -p!ge
                                :90,110 substitute !^LN_S =.*$!LN_S = cp -p!ge
                                :/# GNULLI Begin #/,/# GNULLI End #/ substitute !rts ;!rts/ ;!ge
                                :exit
                        EOF
                        set -o errexit
                popd;                                                                                           # }}}3

Of corse you can just as well use a patch file. Important is to use a way to
make interim solution available for everybody. Not just the final version.
I at least do so - all my MinGW attempts are scripted or in diff files and
are committed to the subversion archive of the GNU Ada project [1].

Anybody is welcome! Those who don't like my Cygwin/RPM approach can use my
RPM-Spec to Bash-Script converter and continue from there. But we should
not need develop patches twice!

Also: I got diff patches which remove the warnings GNAT/GPL or GNAT/Pro
issue when compiling GNAT/GCC. That might be an option as well.

So get yourself a sourceforce user and issue a support request to become a
member of the GNU Ada Project!

Martin

[1] http://gnuada.sf.net
-- 
mailto://krischik@users.sourceforge.net
Ada programming at: http://ada.krischik.com



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Let's join forces for GNAT  on MinGW!
       [not found]   ` <mailman.114.1173144906.18371.comp.lang.ada@ada-france.org>
@ 2007-03-06  7:56     ` Martin Krischik
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Krischik @ 2007-03-06  7:56 UTC (permalink / raw)


Vo, Anh (US SSA) schrieb:

> Hi Martin,
> 
> I logged on to sourceforge and red the instruction for joining existing
> projects. Finally, I went to the GNU Ada Compliler project with little
> knowledge just gained. However, I could not locate a link which allowing
> me to join the project. What did I miss? Thanks.

You missed nothing - there is none. The way you join a project depends 
on how many admins are there. If there is just one send him or her an 
E-Mail. If there are more administrator then then it is generally better 
to raise an support request which will be attended to by the first admin 
to take notice.

The GNU Ada project has 4 admins and the link to follow is:

http://sourceforge.net/tracker/?group_id=12974&atid=212974

Martin



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-03-06  7:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-03 10:49 Let's join forces for GNAT on MinGW! Martin Krischik
     [not found] ` <E473CA319B6D514981A06AE6742A1FD82B06E3@GLDMS10607.goldlnk.rootlnka.net>
     [not found]   ` <mailman.114.1173144906.18371.comp.lang.ada@ada-france.org>
2007-03-06  7:56     ` Martin Krischik

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