Correct place for crtbeginS.o

Matthew Dillon dillon at
Sat Jan 8 11:01:50 PST 2005

:When compiling gettext-0.14.1 from ports I got a problem with the 
:location of 2 library files crtbeginS.o and crtendS.o. The compilation 
:looked for the files in /usr/lib/gcc2 but they are in /usr/lib.
:Is there some symlinks missing in my system or. (I created links to make 
:the compilation work). Where shall these files reside?
:Gunnar Flygt

    /usr/lib is the correct place.  crtbegin/end are generated by libcsu
    which is not gnu-specific (or at least not gnu-version-specific), so
    it was moved from the gnu-specific subdirs into a common directory.

    One wonders why gettext is even trying to access these files manually.

					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>

More information about the Users mailing list