Re: [fricas-devel] Re: next version

2 views
Skip to first unread message

Waldek Hebisch

unread,
Jan 29, 2008, 12:14:51 PM1/29/08
to Camm Maguire, fricas...@googlegroups.com
Camm Maguire wrote:
> Waldek Hebisch <heb...@math.uni.wroc.pl> writes:
> > It is should be relatively easy to switch to 'compiler::link'.
> > However, IIRC the problem was that 'compiler::link' does not
> > really work on Windows. Namely, on Windows 'compiler::link'
> > is unable to link Lisp files -- it can only handle binaries.
>
> Odd, we should chase this down. What happens when this is attempted?
>

This was reoprted in June:

http://lists.nongnu.org/archive/html/axiom-developer/2007-06/msg00393.html

In particlular:

> Here is the function in question:
>
> object
> find_init_name1(char *s,unsigned len) {
> #ifdef _WIN32
> FEerror("Not supported on Windows",0);
> #else

I have looked at this function and my impression is that
is should work fine on MinGW. OTOH I do not understand
why this function is used on platforms supporting native
relocations: IIUC in order to load a file native reloc
code has to find the name of init function. So, the same
code which is used for loading could be used for linking.

--
Waldek Hebisch
heb...@math.uni.wroc.pl

Waldek Hebisch

unread,
Jan 29, 2008, 11:51:33 PM1/29/08
to Camm Maguire, fricas...@googlegroups.com
Camm Maguire wrote:
> Waldek Hebisch <heb...@math.uni.wroc.pl> writes:
>
> > This was reoprted in June:
> >
> > http://lists.nongnu.org/archive/html/axiom-developer/2007-06/msg00393.html
> >
> > In particlular:
> >
> > > Here is the function in question:
> > >
> > > object
> > > find_init_name1(char *s,unsigned len) {
> > > #ifdef _WIN32
> > > FEerror("Not supported on Windows",0);
> > > #else
> >
> > I have looked at this function and my impression is that
> > is should work fine on MinGW. OTOH I do not understand
>
> Have you tried commenting out the ifdef perchance?
>

No, I used Linux hosted cross-compiler to produce MinGW object
files and looked at the file.

ATM I was unable to build gcl on MinGW -- I had recent MinGW
installed, while gcl seem to require an exact ancient MinGW
version. I was also unable to install the recent binary gcl --
the installer requires administrator proviledges and I had only
access as ordirnary user.

--
Waldek Hebisch
heb...@math.uni.wroc.pl

Reply all
Reply to author
Forward
0 new messages