On 18-03-12 09:39 AM, Patrick wrote:
On 18-03-12 09:27 AM, [email protected] wrote:
Patrick <[email protected]> wrote:

Last night I tried again but this time I did not alter my bashrc but
instead used ./configure disable-shared CC=tcc

I guess TCC can't generate position independent code. I am having a lot
more luck now and I had a great time last night compiling several projects.
I use it on x86_64 Linux to generate shared objects all the time
(the extensions in gawk).  Is this on Linux or some other OS?

Arnold

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Hi Arnold

I am on Linux 64 bit.

I realize that it can create shared code but could there be an issue with PIC ?

When I go to compile the projects of others, I am having trouble without the --disable-shared flag but not without it.

Could it be that other projects(ncurses for example) that use PIC by default but not when this flag is used?

Thanks for responding to my post-Pat

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Hi again Arnold

I gave some false information.

I just re-tested ncurses and it compiles fine with and without --disable-shared.

However I tried to compile GnuCOBOL and libao and both will fail without --disabled-shared and compile with this flag.

Thanks


_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to