diff --git a/en_US.ISO8859-1/books/porters-handbook/porting-dads/chapter.xml b/en_US.ISO8859-1/books/porters-handbook/porting-dads/chapter.xml index 5c3fa42950..2719f12388 100644 --- a/en_US.ISO8859-1/books/porters-handbook/porting-dads/chapter.xml +++ b/en_US.ISO8859-1/books/porters-handbook/porting-dads/chapter.xml @@ -520,6 +520,26 @@ cc -o someprogram source1.o source2.o -L/usr/local/lib -lsomelib Architectural Considerations + + General Notes on Architectures + + &os; runs on many more processor architectures than + just the well-known x86-based ones. Some ports have + constraints which are particular to one or more of these + architectures. + + For the list of supported architectures, run: + + cd ${SRCDIR}; make targets + + The values are shown in the form + TARGET/TARGET_ARCH. + The ports read-only makevar ARCH is set + based on the value of TARGET_ARCH. + Port Makefiles should test the value + of this Makevar. + + Marking a Port as Architecture Neutral