Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Feb 2000 06:35:52 -0800 (PST)
From:      Dave Banning <sky_tracker@yahoo.com>
To:        questions@freebsd.org
Subject:   help need with c compiling
Message-ID:  <20000229143552.29096.qmail@web3203.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
amd trying a make world and keep getting the following
error;
--------------------------------------------------
cc -O -pipe -elf -Wall -fkeep-inline-functions
-I/usr/obj/usr/src/tmp/usr/include -c
/usr/src/lib/csu/i386-elf/crt1.c -o crt1.o
cc -O -pipe -elf -Wall -fkeep-inline-functions
-I/usr/obj/usr/src/tmp/usr/include -c
/usr/src/lib/csu/i386-elf/crtbegin.c -o crtbegin.o
/usr/src/lib/csu/i386-elf/crtbegin.c:32: section
attributes are not supported for this target
/usr/src/lib/csu/i386-elf/crtbegin.c:33: section
attributes are not supported for this target
{standard input}: Assembler messages:
{standard input}:68: Error: Unknown pseudo-op: 
`.section'
*** Error code 1
-------------------------------------------------------
lines 32 and 33 of crtbegin.c read;
static fptr ctor_list[1]
__attribute__((section(".ctors"))) = { (fptr) -1 };
static fptr dtor_list[1]
__attribute__((section(".dtors"))) = { (fptr) -1 };


where do I go from here?


__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000229143552.29096.qmail>