compiling thread safe c on aix


 
Thread Tools Search this Thread
Top Forums Programming compiling thread safe c on aix
# 1  
Old 03-16-2007
compiling thread safe c on aix

Hi, I'm trying to compile a Perl module for AIX 5.3. Now, Perl by default wants to use cc_r as compiler but I only have gcc installed on this system.

How can I get gcc to be thread safe? Or can I use gcc without any options and expect it to behave the same as cc_r?
Login or Register to Ask a Question

Previous Thread | Next Thread

1 More Discussions You Might Find Interesting

1. Programming

Thread Safe and Rentrancy

I have read at many places that a thread-safe function is always reentrant, but a reentrant function is not always thread-safe. I understand the second part that reentrant function is not always thread-safe, since the reentrant function works on each of the thread's local data and so if the... (4 Replies)
Discussion started by: rupeshkp728
4 Replies
Login or Register to Ask a Question
atscc(1)						      General Commands Manual							  atscc(1)

NAME
atscc - ATS compiler frontend SYNOPSIS
atscc [options] files... DESCRIPTION
atscc is a frontend to the atsopt Anairiats compiler for the ATS language. OPTIONS
atscc has a command-line option syntax in the style of gcc and accepts all the same options, many of them being passed directly to the gcc backend. Here are summarized the non-gcc options. -cc, --compile Only compile the given ATS source files into C files. -D_ATS_GCATS Enable the garbage collector in the generated executable. -IATS <path> Add a path to search for ATS files when doing static and dynamic loads. -tc, --typecheck Typecheck the given ATS source files, but go no further. --version Show ATS/Anairiats version and gcc version. EXAMPLES
atscc -o test -O3 test.dats Compile test.dats to an executable named test. Tell gcc to use the third level of optimization. atscc -tc test.dats Typecheck test.dats only. atscc -o test.o -c test.dats Compile test.dats to an object file named test.o. SEE ALSO
atsopt(1), atslex(1), These programs are documented fully by The ATS/Anairiats user's manual available via the web at http://www.ats-lang.org/ AUTHOR
atscc was written by Hongwei Xi. This manual page was written by Matthew Danish <mrd@debian.org>, for the Debian project (and may be used by others). February 22, 2010 atscc(1)