Re: Mac OS X cross compile for i386-elf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Ben Abernathy" <ben.abernathy@xxxxxxxxx> writes:

> ../../../gcc-4.2.0/libssp/ssp.c: In function '__guard_setup':
> ../../../gcc-4.2.0/libssp/ssp.c:70: warning: implicit declaration of
> function 'open'
> ../../../gcc-4.2.0/libssp/ssp.c:70: error: 'O_RDONLY' undeclared
> (first use in this function)

libssp basically expects to run on a Unix like system.  You only need
libssp if you want to compile with -fstack-protector.  The quick fix
will be to pass --disable-libssp when you run configure, and then
avoid using -fstack-protector.

The complicated fix will be to make libssp work on an embedded
system.  Not for the faint of heart.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux