On 03.04.2012 22:44, Dave Mielke wrote: > [quoted lines by Vladimir 'φ-coder/phcoder' Serbinenko on 2012/04/03 at 22:35 > +0200] > >>> -ffreestanding, -nostdinc, and -nostdlib are all being passed to gcc. This >>> is >>> working for includes - only grub's headers are beinbg checked. For linking, >>> however, it's still using the libraries on my system. Do I need more >>> options >>> than just -nostdlib? >> Make sure that -nostdlib is passed in linking stage. > Yes, they indeed are. :-( I mean on make time. > configure:17154: checking for fork > configure:17210: gcc -o conftest -g -O2 -DGRUB_RUNTIME -DGRUB_FILE=__FILE__ > -DNESTED_FUNC_ATTR= -D_WCHAR_T_DECLARED=1 -isystem > /usr/lib/gcc/i686-redhat-linux/4.4.4/include > -I/home/dave/brltty/projects/grub/grub-root > -I/home/dave/brltty/projects/grub/grub-root/grub-core/lib/posix_wrap/include > -I/home/dave/brltty/projects/grub/grub-root/include -std=gnu99 -Wall > -ffreestanding -nostdinc -nostdlib conftest.c -lgpm -lnsl -lsupc++ >&5 > /usr/bin/ld: warning: cannot find entry symbol _start; defaulting to > 0000000008048270 > configure:17217: $? = 0 > configure:17237: result: yes >
-- Regards Vladimir 'φ-coder/phcoder' Serbinenko
signature.asc
Description: OpenPGP digital signature
_______________________________________________ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: [email protected] For general information, go to: http://mielke.cc/mailman/listinfo/brltty
