On Fri, Oct 28, 2016 at 02:30:02PM +0100, Ian Jackson wrote: > Wei Liu writes ("Stubdom GMP build failure for gcc 6"): > > Unfortunately my attempt to fix it by providing LDFLAGS="-nostdlib > > -LXXX" doesn't work. It turns out that there is no crt generated in > > newlib. I'm not sure if that's because the newlib port is incomplete or > > I haven't discovered a way to teach it to generate one. > > How does stubdom link its actual final program, without a crt0 ? >
It chdir to mini-os and uses linker script provided there. > Can we not just reproduce its link line somehow ? > I don't think that would result in a program that can run on Linux. Wei. > Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel