This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: configure doesn't recognize Linux
- To: law at cygnus dot com
- Subject: Re: configure doesn't recognize Linux
- From: Peter Simons <simons at cys dot de>
- Date: Sat, 27 Feb 1999 21:29:05 +0100 (CET)
- CC: egcs-bugs at cygnus dot com
- References: <27701.920147116@hurl.cygnus.com>
>>>>> Jeffrey A Law writes:
> Can you run sh -x <srcdir>/config.guess and send us the output?
Here we go:
+ UNAME_MACHINE=i686
+ UNAME_RELEASE=2.2.1
+ UNAME_SYSTEM=Linux
+ UNAME_VERSION=#2 SMP Mon Feb 22 23:36:39 CET 1999
+ trap 'rm -f dummy.c dummy.o dummy; exit 1' 1 2 15
++ ld --help
+ ld_help_string=Usage: ld [options] file...
Options:
-a KEYWORD Shared library control for HP/UX compatibility
-A ARCH, --architecture ARCH
Set architecture
-b TARGET, --format TARGET Specify target for following input files
-c FILE, --mri-script FILE Read MRI format linker script
-d, -dc, -dp Force common symbols to be defined
-e ADDRESS, --entry ADDRESS Set start address
-E, --export-dynamic Export all dynamic symbols
-f SHLIB, --auxiliary SHLIB Auxiliary filter for shared object symbol table
-F SHLIB, --filter SHLIB Filter for shared object symbol table
-g Ignored
-G SIZE, --gpsize SIZE Small data size (if no size, same as --shared)
-h FILENAME, -soname FILENAME
Set internal name of shared library
-l LIBNAME, --library LIBNAME
Search for library LIBNAME
-L DIRECTORY, --library-path DIRECTORY
Add DIRECTORY to library search path
-m EMULATION Set emulation
-M, --print-map Print map file on standard output
-n, --nmagic Do not page align data
-N, --omagic Do not page align data, do not make text readonly
-o FILE, --output FILE Set output file name
-O Ignored
-r, -i, --relocateable Generate relocateable output
-R FILE, --just-symbols FILE
Just link symbols (if directory, same as --rpath)
-s, --strip-all Strip all symbols
-S, --strip-debug Strip debugging symbols
-t, --trace Trace file opens
-T FILE, --script FILE Read linker script
-u SYMBOL, --undefined SYMBOL
Start with undefined reference to SYMBOL
-v, --version Print version information
-V Print version and emulation information
-x, --discard-all Discard all local symbols
-X, --discard-locals Discard temporary local symbols
-y SYMBOL, --trace-symbol SYMBOL
Trace mentions of SYMBOL
-Y PATH Default search path for Solaris compatibility
-z KEYWORD Ignored for Solaris compatibility
-(, --start-group Start a group
-), --end-group End a group
-assert KEYWORD Ignored for SunOS compatibility
-Bdynamic, -dy, -call_shared
Link against shared libraries
-Bstatic, -dn, -non_shared, -static
Do not link against shared libraries
-Bsymbolic Bind global references locally
--cref Output cross reference table
--defsym SYMBOL=EXPRESSION Define a symbol
--dynamic-linker PROGRAM Set the dynamic linker to use
-EB Link big-endian objects
-EL Link little-endian objects
--embedded-relocs Generate embedded relocs
--force-exe-suffix Force generation of file with .exe suffix
--help Print option help
-Map FILE Write a map file
--multilib-dir PATH Specify a target directory
--no-keep-memory Use less memory and more disk I/O
--no-warn-mismatch Don't warn about mismatched input files
--no-whole-archive Turn off --whole-archive
--noinhibit-exec Create an output file even if errors occur
--oformat TARGET Specify target of output file
-qmagic Ignored for Linux compatibility
-Qy Ignored for SVR4 compatibility
--relax Relax branches on certain targets
--retain-symbols-file FILE Keep only symbols listed in FILE
-rpath PATH Set runtime shared library search path
-rpath-link PATH Set link time shared library search path
-shared, -Bshareable Create a shared library
--sort-common Sort common symbols by size
--split-by-file Split output sections for each file
--split-by-reloc COUNT Split output sections every COUNT relocs
--stats Print memory usage statistics
--task-link SYMBOL Do task level linking
--traditional-format Use same format as native linker
-Tbss ADDRESS Set address of .bss section
-Tdata ADDRESS Set address of .data section
-Ttext ADDRESS Set address of .text section
-Ur Build global constructor/destructor tables
--verbose Output lots of information during link
--version-script FILE Read version information script
--warn-common Warn about duplicate common symbols
--warn-constructors Warn if global constructors/destructors are seen
--warn-multiple-gp Warn if the multiple GP values are used
--warn-once Warn only once per undefined symbol
--warn-section-align Warn if start of section changes due to alignment
--whole-archive Include all objects from following archives
--wrap SYMBOL Use wrapper functions for SYMBOL
ld: supported targets: elf32-i386 a.out-i386-linux srec symbolsrec tekhex binary ihex trad-core
ld: supported emulations: elf_i386 i386linux
Report bugs to bug-gnu-utils@gnu.org and hjl@lucon.org
++ echo Usage: ld '[options]' file... Options: -a KEYWORD Shared library control for HP/UX compatibility -A ARCH, --architecture ARCH Set architecture -b TARGET, --format TARGET Specify target for following input files -c FILE, --mri-script FILE Read MRI format linker script -d, -dc, -dp Force common symbols to be defined -e ADDRESS, --entry ADDRESS Set start address -E, --export-dynamic Export all dynamic symbols -f SHLIB, --auxiliary SHLIB Auxiliary filter for shared object symbol table -F SHLIB, --filter SHLIB Filter for shared object symbol table -g Ignored -G SIZE, --gpsize SIZE Small data size '(if' no size, same as '--shared)' -h FILENAME, -soname FILENAME Set internal name of shared library -l LIBNAME, --library LIBNAME Search for library LIBNAME -L DIRECTORY, --library-path DIRECTORY Add DIRECTORY to library search path -m EMULATION Set emulation -M, --print-map Print map file on standard output -n, --nmagic Do not page align data -N, --omagic Do not page align data, !
!
!
do not make text readonly -o FILE, --output FILE Set output file name -O Ignored -r, -i, --relocateable Generate relocateable output -R FILE, --just-symbols FILE Just link symbols '(if' directory, same as '--rpath)' -s, --strip-all Strip all symbols -S, --strip-debug Strip debugging symbols -t, --trace Trace file opens -T FILE, --script FILE Read linker script -u SYMBOL, --undefined SYMBOL Start with undefined reference to SYMBOL -v, --version Print version information -V Print version and emulation information -x, --discard-all Discard all local symbols -X, --discard-locals Discard temporary local symbols -y SYMBOL, --trace-symbol SYMBOL Trace mentions of SYMBOL -Y PATH Default search path for Solaris compatibility -z KEYWORD Ignored for Solaris compatibility '-(,' --start-group Start a group '-),' --end-group End a group -assert KEYWORD Ignored for SunOS compatibility -Bdynamic, -dy, -call_shared Link against shared libraries -Bstatic, -dn, -non_shared, -static Do not link a!
!
!
gainst shared libraries -Bsymbolic Bind global references locally --cref Output cross reference table --defsym SYMBOL=EXPRESSION Define a symbol --dynamic-linker PROGRAM Set the dynamic linker to use -EB Link big-endian objects -EL Link little-endian objects --embedded-relocs Generate embedded relocs --force-exe-suffix Force generation of file with .exe suffix --help Print option help -Map FILE Write a map file --multilib-dir PATH Specify a target directory --no-keep-memory Use less memory and more disk I/O --no-warn-mismatch 'Don'\''t' warn about mismatched input files --no-whole-archive Turn off --whole-archive --noinhibit-exec Create an output file even if errors occur --oformat TARGET Specify target of output file -qmagic Ignored for Linux compatibility -Qy Ignored for SVR4 compatibility --relax Relax branches on certain targets --retain-symbols-file FILE Keep only symbols listed in FILE -rpath PATH Set runtime shared library search path -rpath-link PATH Set link time shar!
!
!
ed library search path -shared, -Bshareable Create a shared library --sort-common Sort common symbols by size --split-by-file Split output sections for each file --split-by-reloc COUNT Split output sections every COUNT relocs --stats Print memory usage statistics --task-link SYMBOL Do task level linking --traditional-format Use same format as native linker -Tbss ADDRESS Set address of .bss section -Tdata ADDRESS Set address of .data section -Ttext ADDRESS Set address of .text section -Ur Build global constructor/destructor tables --verbose Output lots of information during link --version-script FILE Read version information script --warn-common Warn about duplicate common symbols --warn-constructors Warn if global constructors/destructors are seen --warn-multiple-gp Warn if the multiple GP values are used --warn-once Warn only once per undefined symbol --warn-section-align Warn if start of section changes due to alignment --whole-archive Include all objects from following arch!
!
!
ives --wrap SYMBOL Use wrapper functions for SYMBOL ld: supported targets: elf32-i386 a.out-i386-linux srec symbolsrec tekhex binary ihex trad-core ld: supported emulations: elf_i386 i386linux Report bugs to bug-gnu-utils@gnu.org and hjl@lucon.org
++ sed -ne '/supported emulations:/!d
s/[ ][ ]*/ /g
s/.*supported emulations: *//
s/ .*//
p'
+ ld_supported_emulations=elf_i386
+ test i686 = alpha
+ test i686 = mips
+ echo 'Usage: ld [options] file...
Options:
-a KEYWORD Shared library control for HP/UX compatibility
-A ARCH, --architecture ARCH
Set architecture
-b TARGET, --format TARGET Specify target for following input files
-c FILE, --mri-script FILE Read MRI format linker script
-d, -dc, -dp Force common symbols to be defined
-e ADDRESS, --entry ADDRESS Set start address
-E, --export-dynamic Export all dynamic symbols
-f SHLIB, --auxiliary SHLIB Auxiliary filter for shared object symbol table
-F SHLIB, --filter SHLIB Filter for shared object symbol table
-g Ignored
-G SIZE, --gpsize SIZE Small data size (if no size, same as --shared)
-h FILENAME, -soname FILENAME
Set internal name of shared library
-l LIBNAME, --library LIBNAME
Search for library LIBNAME
-L DIRECTORY, --library-path DIRECTORY
Add DIRECTORY to library search path
-m EMULATION Set emulation
-M, --print-map Print map file on standard output
-n, --nmagic Do not page align data
-N, --omagic Do not page align data, do not make text readonly
-o FILE, --output FILE Set output file name
-O Ignored
-r, -i, --relocateable Generate relocateable output
-R FILE, --just-symbols FILE
Just link symbols (if directory, same as --rpath)
-s, --strip-all Strip all symbols
-S, --strip-debug Strip debugging symbols
-t, --trace Trace file opens
-T FILE, --script FILE Read linker script
-u SYMBOL, --undefined SYMBOL
Start with undefined reference to SYMBOL
-v, --version Print version information
-V Print version and emulation information
-x, --discard-all Discard all local symbols
-X, --discard-locals Discard temporary local symbols
-y SYMBOL, --trace-symbol SYMBOL
Trace mentions of SYMBOL
-Y PATH Default search path for Solaris compatibility
-z KEYWORD Ignored for Solaris compatibility
-(, --start-group Start a group
-), --end-group End a group
-assert KEYWORD Ignored for SunOS compatibility
-Bdynamic, -dy, -call_shared
Link against shared libraries
-Bstatic, -dn, -non_shared, -static
Do not link against shared libraries
-Bsymbolic Bind global references locally
--cref Output cross reference table
--defsym SYMBOL=EXPRESSION Define a symbol
--dynamic-linker PROGRAM Set the dynamic linker to use
-EB Link big-endian objects
-EL Link little-endian objects
--embedded-relocs Generate embedded relocs
--force-exe-suffix Force generation of file with .exe suffix
--help Print option help
-Map FILE Write a map file
--multilib-dir PATH Specify a target directory
--no-keep-memory Use less memory and more disk I/O
--no-warn-mismatch Don'\''t warn about mismatched input files
--no-whole-archive Turn off --whole-archive
--noinhibit-exec Create an output file even if errors occur
--oformat TARGET Specify target of output file
-qmagic Ignored for Linux compatibility
-Qy Ignored for SVR4 compatibility
--relax Relax branches on certain targets
--retain-symbols-file FILE Keep only symbols listed in FILE
-rpath PATH Set runtime shared library search path
-rpath-link PATH Set link time shared library search path
-shared, -Bshareable Create a shared library
--sort-common Sort common symbols by size
--split-by-file Split output sections for each file
--split-by-reloc COUNT Split output sections every COUNT relocs
--stats Print memory usage statistics
--task-link SYMBOL Do task level linking
--traditional-format Use same format as native linker
-Tbss ADDRESS Set address of .bss section
-Tdata ADDRESS Set address of .data section
-Ttext ADDRESS Set address of .text section
-Ur Build global constructor/destructor tables
--verbose Output lots of information during link
--version-script FILE Read version information script
--warn-common Warn about duplicate common symbols
--warn-constructors Warn if global constructors/destructors are seen
--warn-multiple-gp Warn if the multiple GP values are used
--warn-once Warn only once per undefined symbol
--warn-section-align Warn if start of section changes due to alignment
--whole-archive Include all objects from following archives
--wrap SYMBOL Use wrapper functions for SYMBOL
ld: supported targets: elf32-i386 a.out-i386-linux srec symbolsrec tekhex binary ihex trad-core
ld: supported emulations: elf_i386 i386linux
Report bugs to bug-gnu-utils@gnu.org and hjl@lucon.org'
+ grep 'supported emulations:'
+ test 0 '!=' 0
+ VENDOR=pc
+ cat
+ cc dummy.c -o dummy
+ rm -f dummy.c dummy
+ cat
+ cc dummy.c -o dummy
+ rm -f dummy.c dummy
+ test -d /usr/apollo
+ '[' -x /usr/convex/getsysinfo ']'
+ exit 1