Re: Cross-compiling with automake

2008-10-10 Thread Thomas Epperson
On Mon, Oct 6, 2008 at 4:06 PM, Ralf Wildenhues <[EMAIL PROTECTED]>wrote: > I don't think your issue has to do with automake at all; it rather looks > like a GCC issue. I can't tell if all you need is to use '-Wl,' or if > there is some limitation in the gcc driver that you need to work around. >

Re: Cross-compiling with automake

2008-10-06 Thread Ralf Wildenhues
Hello Thomas, * Thomas Epperson wrote on Mon, Oct 06, 2008 at 12:41:19PM CEST: > kernel_LDFLAGS = -nostdlib -lgcc -T $(srcdir)/x86/link.ld > > I need to specify nostdlib and lgcc at the same time. But when I do it this > way, lgcc gets ignored and the functions in it do not get linked in. I think

Cross-compiling with automake

2008-10-06 Thread Thomas Epperson
I am using autotools to cross-compile. It has worked great for me until now. Here is the line in my makefile.am that I am having problems with. kernel_LDFLAGS = -nostdlib -lgcc -T $(srcdir)/x86/link.ld I need to specify nostdlib and lgcc at the same time. But when I do it this way, lgcc gets ignor