Search:

Type: Posts; User: steeldriver; Keyword(s):

Search: Search took 2.69 seconds.

  1. Re: How to determine the configuration of gcc since a bash script?

    The `file` utility has a number of options that may be useful for getting more easily parsable output - for example you could do



    $ file --brief --mime-type hello.o hello
    application/x-object...
  2. Re: How to determine the configuration of gcc since a bash script?

    The command-line tool to detect file type is `file` e.g.



    $ file hello
    hello: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2,...
Results 1 to 2 of 2