tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] New tcc display info?


From: Christian Jullien
Subject: Re: [Tinycc-devel] New tcc display info?
Date: Sun, 10 Feb 2013 10:41:06 +0100

-vvv gives less verbosity than -vv, this probably not what you want.

$ tcc -vvv
tcc version 0.9.25 (ARM Hard Float Linux)

$ tcc -vv
tcc version 0.9.25 (ARM Hard Float Linux)
install: /usr/local/lib/tcc/
crt:
  /usr/lib/arm-linux-gnueabihf
libraries:
  /usr/lib/arm-linux-gnueabihf
  /lib/arm-linux-gnueabihf
  /usr/local/lib/arm-linux-gnueabihf
include:
  /usr/local/include
  /usr/local/include/arm-linux-gnueabihf
  /usr/include
  /usr/include/arm-linux-gnueabihf
  /usr/local/lib/tcc/include

tcc.c line 522:

    if (optind == 0 || nb_files == 0) {
        if (optind && s->verbose) {
            if (s->verbose >= 2) // FIX ? (was == 2)
                goto psd;
            return 0;
        }
        help();
        return 1;
    }


-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
grischka
Sent: dimanche 10 février 2013 01:48
To: address@hidden
Subject: Re: [Tinycc-devel] New tcc display info?

Christian Jullien wrote:
>> Does it give the target architecture or the host architecture?
> 
> It should return target, we generally know on which host we are 
> running on (useless
< yet can be added as well if you like)

I don't know how useful it is to defer the target from the compiler in use
since a Makefile should probably know the target in order to know which
compiler to invoke.

Anyway, I like verbose info, so I added something.  Together with extended
-print-search-dirs, also available now via "tcc -vv".

Which I added to the hello test to show us configured paths when it fails.

--- grischka


_______________________________________________
Tinycc-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/tinycc-devel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]