[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. :-( 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 -- Dave Mielke | 2213 Fox Crescent | The Bible is the very Word of God. Phone: 1-613-726-0014 | Ottawa, Ontario | 2011 May 21 is the End of Salvation. EMail: [email protected] | Canada K2A 1H7 | http://Mielke.cc/now.html http://FamilyRadio.com/ | http://Mielke.cc/bible/ _______________________________________________ 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
