Re: Modified version of l_dispatcher.h -- please try it.

David Fang <[email protected]>
Newsgroups gmane.comp.gnu.gnucap.devel
Message-ID <[email protected]>
> > It works for the cases I tried ..  I was able to move globals.o to either
> > end of the link list and it works both places.
>
> This is good.  I still haven't wrapped your small test case up in an
> autoconf test.  One thing I quickly realized is that of course that will
> not work correctly for a cross-compile environment.  In that case you'd
> have to fall back to some hard coded lookup table that used known
> results for whatever tools chains it knew about and took a guess when
> encountering an unknown toolchain.

Dan,
	I'd say the link/load-ordering problem is no longer an issue, so
configure-testing for ordering shouldn't be necessary.  (But it never hurt
to do as an exercise.)

> Last I checked the autoconf setup did work correctly for cross compiling
> with the one catch that you have to do a native build and install first
> to have access to modelgen.  But once you have that, cross compiling
> seemed to "just work".  But this may not really matter for most (all?)
> gnucap users.

	Either built or installed, some native modelgen would be required,
just up to you how to handle it.  I'm not intending to cross-compile
anytime soon!

David Fang
Computer Systems Laboratory
Electrical & Computer Engineering
Cornell University
http://www.csl.cornell.edu/~fang/
	-- (2400 baud? Netscape 3.0?? lynx??? No problem!)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.