Re: print out %D spec

2014-01-25 Thread Perry Smith
Wakely jwakely@gmail.com wrote: On Jan 25, 2014 1:32 AM, Perry Smith wrote: I think, a %D in a spec creates a list of -L/a/b/c -L/d/e/f. gcc -dumpspecs shows me that link_libgcc goes to %D but it does not show me what %D produces. Is there a way to get gcc to dump that out? Basically

print out %D spec

2014-01-24 Thread Perry Smith
I think, a %D in a spec creates a list of -L/a/b/c -L/d/e/f. gcc -dumpspecs shows me that link_libgcc goes to %D but it does not show me what %D produces. Is there a way to get gcc to dump that out? Basically what I'm trying to do is find the list of library paths that GCC tells ld to use

add .cc files to libgcc.a

2012-10-29 Thread Perry Smith
++ and not C but perhaps there is a different way to add them in. My original logic in adding them to libstdc++.a is they are only used (called) by code automatically produced by g++ and not gcc. But I'm happy to do / try whatever. Thank you for your time, Perry Smith

Re: add .cc files to libgcc.a

2012-10-29 Thread Perry Smith
On Oct 29, 2012, at 9:32 AM, Jonathan Wakely wrote: On Oct 29, 2012 1:54 PM, Perry Smith wrote: My original logic in adding them to libstdc++.a is they are only used (called) by code automatically produced by g++ and not gcc. That doesn't make sense. Both gcc and g++ are just driver

Re: add .cc files to libgcc.a

2012-10-29 Thread Perry Smith
On Oct 29, 2012, at 9:08 AM, David Edelsohn wrote: Some of the support you are adding is equivalent to code in libgcc/crtstuff.c. My question was if it is possible to re-use some of that code for the new AIX support. Is the code really C++? Both cxa_atexit.cc and cxa_finalize.cc are

Re: add .cc files to libgcc.a

2012-10-29 Thread Perry Smith
On Oct 29, 2012, at 1:47 PM, Jonathan Wakely wrote: Compiling with gcc does not imply you're not compiling C++. So, in my sample code, how do you compile it with gcc?

Re: add .cc files to libgcc.a

2012-10-29 Thread Perry Smith
On Oct 29, 2012, at 1:47 PM, Jonathan Wakely wrote: It compiles fine with gcc if you put it in a file that ends in .cc or .C or .cpp or any of the other extensions that tell gcc to run the cc1plus compiler. Please read http://gcc.gnu.org/onlinedocs/gcc/Invoking-G_002b_002b.html I didn't

Re: AIX trunk build fail #3

2012-10-28 Thread Perry Smith
Does the group / team have an AIX 6.1 build machine to build the trunk on? Or am I the first to person walk into this? I'm still curious in the question above And I'm still curious :-) I opened this bug report: http://gcc.gnu.org/bugzilla/post_bug.cgi I finally got trunk to build. pedz

Re: AIX trunk build fail #3 (edited)

2012-10-28 Thread Perry Smith
Does the group / team have an AIX 6.1 build machine to build the trunk on? Or am I the first to person walk into this? I'm still curious in the question above And I'm still curious :-) I opened this bug report:http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55105 I finally got trunk to

Re: AIX trunk build fail #3

2012-10-25 Thread Perry Smith
On Oct 24, 2012, at 8:12 PM, Perry Smith wrote: Just to satisfy my curiosity, I will build 4.5.2 on the same machine I'm now using to verify what I just said. Yes. the gcc-4.5.2 tarball builds just fine on the same host using roughly the same configuration options. I've added only

Re: AIX trunk build fail #3

2012-10-25 Thread Perry Smith
On Oct 25, 2012, at 3:25 AM, Jonathan Wakely wrote: On 25 October 2012 02:12, Perry Smith wrote: This also changes a previous statement I made: while I did build 4.5.2 on a different level of AIX, it was a 6.1 level and has the same LD_LIBRARY_PATH feature. Thus, something has changed

Re: AIX trunk build fail #3

2012-10-25 Thread Perry Smith
On Oct 25, 2012, at 11:31 AM, David Edelsohn wrote: On Thu, Oct 25, 2012 at 12:20 PM, Jonathan Wakely jwakely@gmail.com wrote: On 25 October 2012 14:16, Perry Smith wrote: For trunk, yes, see the top entry of http://gcc.gnu.org/gcc-4.8/changes.html That isn't the case for 4.5.2, so

Re: AIX trunk build fail #3

2012-10-25 Thread Perry Smith
On Oct 25, 2012, at 1:31 PM, Perry Smith wrote: On Oct 25, 2012, at 11:31 AM, David Edelsohn wrote: On Thu, Oct 25, 2012 at 12:20 PM, Jonathan Wakely jwakely@gmail.com wrote: On 25 October 2012 14:16, Perry Smith wrote: For trunk, yes, see the top entry of http://gcc.gnu.org/gcc

Re: AIX trunk build fail #3

2012-10-24 Thread Perry Smith
On Oct 24, 2012, at 11:28 AM, Perry Smith wrote: On Oct 24, 2012, at 11:20 AM, Jonathan Wakely wrote: On 24 October 2012 15:10, Perry Smith wrote: I thought I found a pilot error last night but it made no difference. I was calling make and not make bootstrap. Just make is correct

AIX trunk build fail #3

2012-10-22 Thread Perry Smith
the 64 bit version of libstdc++. I can't figure out why it tried to do that and I can't recreate it. I also added the output of dump -H /usr/work/build/gcc.git/./gcc/cc1 to the gist. Any suggestions? Thank you, Perry Smith

Re: AIX trunk build fail #3

2012-10-22 Thread Perry Smith
On Oct 22, 2012, at 8:55 AM, Michael Haubenwallner wrote: On 10/22/2012 03:49 PM, Perry Smith wrote: In stage 3, libatomic's configure fails. The config.log file is here: https://gist.github.com/3931504 I've recreated the conftest.c and ran the same command. The output is fine

Re: AIX trunk build fail #3

2012-10-22 Thread Perry Smith
On Oct 22, 2012, at 7:58 PM, Perry Smith wrote: On Oct 22, 2012, at 8:55 AM, Michael Haubenwallner wrote: On 10/22/2012 03:49 PM, Perry Smith wrote: In stage 3, libatomic's configure fails. The config.log file is here: https://gist.github.com/3931504 I've recreated the conftest.c

AIX trunk build fail #2

2012-10-20 Thread Perry Smith
David got me past my first problem. AIX 6.1 TL07 SP03, gcc 4.5.2 git repository on master. Last pull was commit 43780738cd22a2fbea5fd7d8260a76e0c3121f43 Author: hubicka hubicka@138bc75d-0d04-0410-961f-82ee72b054a4 Date: Sat Oct 20 14:19:12 2012 + Here is the new error:

AIX compile fail on trunk

2012-10-19 Thread Perry Smith
, Perry Smith

Re: at exit alternative for AIX

2012-09-16 Thread Perry Smith
On Aug 8, 2012, at 3:32 PM, David Edelsohn wrote: On Tue, Aug 7, 2012 at 1:42 PM, Perry Smith pedz...@gmail.com wrote: Thanks. You just provide what I wanted / needed which is a sanity check. I'll open a bug report and that might get me some help. I think I've concocted a plan to get

Re: at exit alternative for AIX

2012-08-20 Thread Perry Smith
Hi, I need more help on this project. collect2 is dying when it calls ld for the first time because __dso_handle is not defined. It is being reference from the calls to __cxa_atexit. What I had planned to do was define it in the small .c stub that collect2 creates but that doesn't get

-debug to collect2

2012-08-20 Thread Perry Smith
Is there a way to get the -debug flag from the g++ command line to collect2? I've tried -v (which appears to be passed through) -debug and --Wl,-debug Right now, I do -v and then copy and paste the collect2 command adding the -debug by hand. Which works but is slower. Thank you, Perry

Re: at exit alternative for AIX

2012-08-19 Thread Perry Smith
On Aug 18, 2012, at 7:48 PM, Perry Smith wrote: Hi Gang, I'm having an unforeseen issue. Hopefully I'm just doing something wrong. I'm on gcc 4.5.2. I started with a fresh build tree. I'm passing in --enable-__cxa_atexit: configure \ --with-gmp=${PUBLIC_BASE} \ --with-mpfr

Re: at exit alternative for AIX

2012-08-18 Thread Perry Smith
On Aug 8, 2012, at 3:32 PM, David Edelsohn wrote: On Tue, Aug 7, 2012 at 1:42 PM, Perry Smith pedz...@gmail.com wrote: Thanks. You just provide what I wanted / needed which is a sanity check. I'll open a bug report and that might get me some help. I think I've concocted a plan to get

Re: at exit alternative for AIX

2012-08-07 Thread Perry Smith
On Aug 5, 2012, at 3:50 PM, Perry Smith wrote: On Aug 5, 2012, at 1:09 PM, David Edelsohn wrote: On Sun, Aug 5, 2012 at 9:56 AM, Perry Smith pedz...@gmail.com wrote: I was planning on exploring when _GLOBAL__FD was called today. I need to figure out when gcc puts the call to the dtor

Re: at exit alternative for AIX

2012-08-07 Thread Perry Smith
On Aug 7, 2012, at 10:52 AM, Ian Lance Taylor wrote: On Tue, Aug 7, 2012 at 5:43 AM, Perry Smith pedz...@gmail.com wrote: Not sure why this thread died. I've been looking at the code trying to gain the courage to try and implement the changes I suggested but was also waiting to hear back

Re: at exit alternative for AIX

2012-08-05 Thread Perry Smith
On Aug 4, 2012, at 11:56 PM, Ian Lance Taylor wrote: On Sat, Aug 4, 2012 at 2:43 PM, Perry Smith pedz...@gmail.com wrote: I hope I've researched this enough to ask decent questions. I'm running gcc 4.5.2. AIX 6.1 TL07 SP03. The essence of the problem is when a shared library is loaded

Re: at exit alternative for AIX

2012-08-05 Thread Perry Smith
On Aug 5, 2012, at 1:09 PM, David Edelsohn wrote: On Sun, Aug 5, 2012 at 9:56 AM, Perry Smith pedz...@gmail.com wrote: I was planning on exploring when _GLOBAL__FD was called today. I need to figure out when gcc puts the call to the dtor in _GLOBAL__FD path rather than in the atexit path

Re: at exit alternative for AIX

2012-08-05 Thread Perry Smith
On Aug 5, 2012, at 3:50 PM, Perry Smith wrote: On Aug 5, 2012, at 1:09 PM, David Edelsohn wrote: On Sun, Aug 5, 2012 at 9:56 AM, Perry Smith pedz...@gmail.com wrote: I was planning on exploring when _GLOBAL__FD was called today. I need to figure out when gcc puts the call to the dtor

at exit alternative for AIX

2012-08-04 Thread Perry Smith
Hi, I hope I've researched this enough to ask decent questions. I'm running gcc 4.5.2. AIX 6.1 TL07 SP03. The essence of the problem is when a shared library is loaded, sometimes atexit is called with a pointer to a destructor. This call (I gather) is produced by gcc itself (or g++). The

Re: TOC errors on AIX

2012-08-03 Thread Perry Smith
On Jul 31, 2012, at 4:30 PM, David Edelsohn wrote: On Sun, Jul 29, 2012 at 12:48 PM, Perry Smith pedz...@gmail.com wrote: Hi, This is an age old topic but I can't find how to solve it. I've searched the past few days. I'm trying to build passenger on AIX 6.1 TL07 SP03 using gcc 4.5.2

TOC errors on AIX

2012-07-29 Thread Perry Smith
Hi, This is an age old topic but I can't find how to solve it. I've searched the past few days. I'm trying to build passenger on AIX 6.1 TL07 SP03 using gcc 4.5.2 that I built myself. I've used it for a number of months and have built many things. The short question is how do I get rid of

Re: AIX library issues

2011-10-23 Thread Perry Smith
On Oct 18, 2011, at 9:59 AM, David Edelsohn wrote: On Mon, Oct 17, 2011 at 10:05 PM, Perry Smith pedz...@gmail.com wrote: dump -H libstdc++.so.6 ... /usr/work/src/gcc-4.5.2/configure --prefix=/gsa/ausgsa/projects/r/ruby --with-gmp=/gsa/ausgsa/projects/r/ruby --with-mpfr=/gsa/ausgsa

Re: AIX library issues

2011-10-23 Thread Perry Smith
On Oct 23, 2011, at 1:59 PM, David Edelsohn wrote: On Sun, Oct 23, 2011 at 10:16 AM, Perry Smith pedz...@gmail.com wrote: libgomp.so.1 wants libc.a, libpthreads.a, and libgcc_s.a. The first two do not present a problem. But there are four libgcc_s.a (normal, ppc64, pthread, and ppc64

AIX library issues

2011-10-17 Thread Perry Smith
I've discovered an issue which I can't believe I'm the first to bump in to. But I've checked older gcc installs and find the same issue. I did a brief internet search and found sorta similar issues but I'm not sure if they explained it as I see it. I bumped into this while trying to build lzma.

cscope replacement

2010-12-19 Thread Perry Smith
Hi, I believe I asked this question about four years ago and as I recall, there was things on the horizon that seemed hopeful so I thought I would ask again. Is there a way to have gcc produce some type of intermediate file that could be used to generate a cscope like database. (Perhaps a

gcc 4.4.1 for AIX 5.3 available for download

2009-08-09 Thread Perry Smith
I started a new web site at http://aix-consulting.net to provide installp images for open source programs. I started with gcc. The required images are also available on the site. This is a hosted site and I don't know how much bandwidth and performance I'm going to get. There is a way

gcc install package sanity check

2009-03-02 Thread Perry Smith
Hi, I'm trying to create install images for AIX. I plan to put them someplace for other AIX lusers. The current rpm images from IBM assume that you have 5.3 TL05 (a particular level of 5.3). They simply plop in place the fixed headers. On systems prior to TL05, those headers break.

-Lpath on AIX

2009-01-30 Thread Perry Smith
Lets suppose I build GNU's sed using gcc 4.2.0 on AIX. At link time, the flag -L/usr/local/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.0/../../.. is passed along with -L/usr/local/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.0 to ld. sed links and runs fine. In the executable, this list of paths is kept

Building gcc on AIX 5.3 TL08

2009-01-01 Thread Perry Smith
I just discovered that the build sequence for gcc on AIX version 5.3, what is called TL08 fails. The first symptom is options.h has double defines in it. e.g. redeclaration of enumerator 'OPT_d' But even after that is fixed by hand, there are other issues. Switching from AIX's awk or

Would this interest anyone?

2006-11-12 Thread Perry Smith
of the developers. If it is, I will package up a nice test program and submit it via bugzilla. Perry Smith Ease Software, Inc. [EMAIL PROTECTED] http://www.easesoftware.com Low cost SATA Products for IBMs p5, pSeries, and RS/6000 AIX systems

Re: g++ compiler enhancement request

2006-06-07 Thread Perry Smith
You might also check boost.org to see if they have this concept already implemented. And if not, you could contribute it to them as well. On Jun 7, 2006, at 3:17 PM, [EMAIL PROTECTED] wrote: Hi, I'm a Msc. student in the computer science department of the Technion, the Israeli

Re: Dynamically generated code and DWARF exception handling

2006-05-03 Thread Perry Smith
this. The C++ abi spec and dwarf specs are good background reading materials. I looked for those a while back and never found them. Does anyone have pointers to these? Thank you, Perry Smith

Re: Dynamically generated code and DWARF exception handling

2006-05-03 Thread Perry Smith
On May 3, 2006, at 8:58 AM, Daniel Jacobowitz wrote: On Wed, May 03, 2006 at 07:12:43AM -0500, Perry Smith wrote: On May 2, 2006, at 9:21 PM, Mike Stump wrote: On May 2, 2006, at 4:23 AM, jacob navia wrote: To get to the corresponding catch, the runtime should skip through the intermediate

Re: Experimental features in releases

2006-04-19 Thread Perry Smith
On Apr 19, 2006, at 9:00 AM, Neil Booth wrote: So is this an object lesson for why optimizing for benchmarks is a bad idea? We use to call this benchmarketing I don't see why GNU would want to do that for anything.

Re: GCC Compiler Engineer job (I am not a recruiter)

2006-04-10 Thread Perry Smith
On Apr 10, 2006, at 3:39 PM, Jeffrey A Law wrote: On Mon, 2006-04-10 at 13:29 -0700, Mark Mitchell wrote: I'd rather not open the door to job postings, even for GCC snip I see myself as a consumer of this list and not a producer so it is hard to see myself as having a vote. But if I

Re: GNU Pascal branch

2006-04-03 Thread Perry Smith
I hope I am viewed as an impartial but interested third party. I would really like to see this happen. I did not know about gpc until a few weeks ago when I did a google search. I may be mistaken but I think the TeX community would be very interested in a GNU based Pascal. I am aware

Re: pointer member constant expression

2006-02-27 Thread Perry Smith
and sorry... Perry On Feb 27, 2006, at 6:00 AM, Dave Korn wrote: On 24 February 2006 23:42, Perry Smith wrote: On Feb 24, 2006, at 8:55 AM, Richard Guenther wrote: The problem is this: struct foo { int a; int b; int c; }; static const int foo::*j = foo::c

Re: pointer member constant expression

2006-02-27 Thread Perry Smith
On Feb 27, 2006, at 11:35 AM, Joe Buck wrote: On Mon, Feb 27, 2006 at 12:00:42PM -, Dave Korn wrote: It has been illegal to initialise a static class member inside the class definition since sometime back in the early 90s. You must provide a static instantiation elsewhere and

pointer member constant expression

2006-02-24 Thread Perry Smith
I have asked this question before -- maybe to the gcc-help list but I'm still unclear. The problem is this: struct foo { int a; int b; int c; }; static const int foo::*j = foo::c; // accepted class dog { static const int foo::*k = foo::c; // error };

Re: GCC 4.1 RC1

2006-02-24 Thread Perry Smith
On Feb 24, 2006, at 4:34 PM, David Edelsohn wrote: Andreas Conz writes: Andreas Hello to all and thank you for the good work, Andreas I was trying to build GCC 4.1 RC1 on AIX 5.1 _32bit_. Andreas The machine is not very fast and I made some mistakes in the beginning. Andreas Now my build

Re: GCC 4.1 RC1

2006-02-24 Thread Perry Smith
Thanks I was mostly trying to give Andreas a way to determine what type of system he has (via kdb). On Feb 24, 2006, at 6:07 PM, David Edelsohn wrote: Perry Smith writes: Perry You can build 64 bit libraries in 32 bit mode. You are answering a different question. AIX supports

Re: cscope type functionality

2006-02-15 Thread Perry Smith
How do I keep track of the LTO design process? I may not be able to help 'cause I don't know enough about gcc's internals but I'd like to if possible. On Feb 13, 2006, at 2:47 PM, Mark Mitchell wrote: Gabriel Dos Reis wrote: Tom Tromey [EMAIL PROTECTED] writes: [...] | I think it would

Recursive Destructors?

2006-02-15 Thread Perry Smith
0 from line 82 23 config_lock_dtor ret 0 from line 75 Thank you for you help. Perry Smith

Re: Recursive Destructors?

2006-02-15 Thread Perry Smith
. On Feb 15, 2006, at 2:40 PM, Mike Stump wrote: On Feb 15, 2006, at 7:27 AM, Perry Smith wrote: I am assuming I am doing something wrong but I am hoping someone can give me a clue as to where to look. I'd fire up a debugger and type up a couple of times from a breakpoint in the dtor

Re: C++ standard

2006-02-03 Thread Perry Smith
On Feb 3, 2006, at 1:52 PM, Joe Buck wrote: On Fri, Feb 03, 2006 at 07:56:23PM +0100, andrzej wrote: Hello, I am sorry if this is the wrong address for tihis question, but I couldn't find any other. In the manual pages I couldn't find the information whether GCC supports the ISO C++

Re: ECCN Request - GCC

2006-02-02 Thread Perry Smith
On Feb 2, 2006, at 11:28 AM, [EMAIL PROTECTED] wrote: I'm trying to determine if we can export the GNU GCC product. Can you please let me know if it contains any encryption? You mean besides the documentation itself which is cryptic at times? No. IIRC, there some one way hashes used, but

Calls to malloc during an exception

2006-01-18 Thread Perry Smith
In the course of doing my work last week to get exception handling working in my device driver, I learned that the exception processing code calls malloc during the exception. This seems weak to me. It seems like one of the most critical times to throw an exception is when malloc fails.

Re: Calls to malloc during an exception

2006-01-18 Thread Perry Smith
On Jan 18, 2006, at 12:07 PM, Andrew Pinski wrote: On Wed, Jan 18, 2006 at 11:41:39AM -0600, Perry Smith wrote: In the course of doing my work last week to get exception handling working in my device driver, I learned that the exception processing code calls malloc during the exception

Re: Example of debugging GCC with toplevel bootstrap

2006-01-17 Thread Perry Smith
On Jan 17, 2006, at 10:30 PM, Mike Stump wrote: On Jan 13, 2006, at 5:01 PM, Richard Kenner wrote: Steven Bosscher wrote: ... you can use --disable-bootstrap and do a regular make, or is there some reason why you can't do that? I thought the point was that that option is temporary

Re: GCC Error Codes

2006-01-15 Thread Perry Smith
Two comments: 1) What if the same warning or error message comes from two places? Your numbering system would make this hard to identify. I would suggest gathering up all the errors and warnings from all the files, remove duplicates, then proceed with the numbering. Or... it may be

Re: GCC Error Codes

2006-01-15 Thread Perry Smith
On Jan 15, 2006, at 10:14 AM, rubicant rubicant wrote: [..snip..] 1) What if the same warning or error message comes from two places? Your numbering system would make this hard to identify. I would suggest gathering up all the errors and warnings from all the files, remove duplicates, then

Re: BIGGEST_ALIGNMENT on AIX 32-bit

2006-01-14 Thread Perry Smith
The conflict is actually 32bit, AIX, Altivec, and Ada (together). So, how about for now, just say that Ada can't support Altivec on 32bit AIX. My point is that I'd like to keep Altivec support on 32bit AIX for other languages. On Jan 14, 2006, at 9:03 AM, Eric Botcazou wrote:

Re: BIGGEST_ALIGNMENT on AIX 32-bit

2006-01-14 Thread Perry Smith
On Jan 14, 2006, at 10:19 AM, Robert Dewar wrote: Perry Smith wrote: The conflict is actually 32bit, AIX, Altivec, and Ada (together). So, how about for now, just say that Ada can't support Altivec on 32bit AIX. My point is that I'd like to keep Altivec support on 32bit AIX

stab strings on AIX

2006-01-14 Thread Perry Smith
I have a tool that I use to look at AIX dumps. It understands stab strings that xlc (the IBM compiler) produces. I feed it a file produced by gcc/g++ and it complains. The same thing happens with dbx (IBM's debugger). Of course, gdb understands it fine. Has gcc/g++ extended the stab

collect2 possible enhancements

2006-01-14 Thread Perry Smith
before the real ld and the script strips out the two arguments that I don't want. Thank you, Perry Smith btw Thank you to David, Ian, Gabby, and others. I now have a tiny driver that loads. It has a constructor and destructor for a global object (which gets called). It throws an exception

AIX cross compile environment on the Mac

2006-01-14 Thread Perry Smith
Now that I have (or think I have) my compiler and library problems solved, I'm toying with the idea of creating a cross compile environment on my Mac laptop for AIX (RS/6000). Does anyone see any obstacles with this? I've never done a cross compile before. Thank you, Perry Smith

Re: warning: 'some_var' may be used uninitialized in this function

2006-01-12 Thread Perry Smith
Because best.score is set to 0 up front, he is expecting the || (or) to short circuit and never test best.d. But... getting a compiler to figure that out is expecting too much. Did you try up'ing the optimization level (just out of curiosity)? On Jan 12, 2006, at 9:01 AM, Diego Novillo

__LDBL_MANT_DIG__

2006-01-12 Thread Perry Smith
Sorry for such a lame question: Where does __LDBL_MANT_DIG__ get defined? (gcc 4.0.2) Thanks, Perry

Re: __LDBL_MANT_DIG__

2006-01-12 Thread Perry Smith
On Jan 12, 2006, at 11:10 AM, Gabriel Dos Reis wrote: Perry Smith [EMAIL PROTECTED] writes: | Thanks Gaby... | | To recap, my current quest is to resolve references to symbols like | __floatdidf. This is in a library for ppc64/soft-float. | | Ian pointed me to ppc64-fp.c. When I try

Mapping C code to generated asm code

2006-01-11 Thread Perry Smith
Is there a way to get some type of debugging output that tells me what line of C code produced what lines of asm code? Thank you, Perry

libgcc2.c help needed

2006-01-11 Thread Perry Smith
into that part of the code but was hoping someone could help me out a bit. BTW, when the link for libgcc_s.a fails, the make does not stop. I just keeps going. I did not notice this until install time when the libraries did not exist. Thank you very much, Perry Smith

Re: libgcc.a, et. al.

2006-01-11 Thread Perry Smith
On Jan 10, 2006, at 9:46 PM, David Edelsohn wrote: Perry Smith writes: Perry The call to _restf14 is not explicit so I assume the compiler is Perry generating it for some reason. Yes, because one of the exception handling support functions can clobber all registers, but also can

Re: [M16C-ELF] : Problem with double and float data types.

2006-01-11 Thread Perry Smith
On Jan 11, 2006, at 10:11 PM, Ian Lance Taylor wrote: DJ Delorie [EMAIL PROTECTED] writes: I don't know whether any other chip has this particular limitation, but it's not hard to handle. ashlsi3 and friends should be a define_expand which turn an overly large CONST_INT into two shifts,

Re: libgcc.a, et. al.

2006-01-10 Thread Perry Smith
. The IBM pubs tells me its part of the floating point linkage convention. So, it sounds to me like I need to recompile libgcc_eh.a with the soft-float option. Can someone help me do this with minimal stress? Thanks, Perry On Jan 8, 2006, at 1:45 PM, David Edelsohn wrote: Perry Smith

libgcc.a, et. al.

2006-01-08 Thread Perry Smith
for references resolved by exports provided by the AIX kernel services. I've been writing drivers using xlc on AIX for 18+ years so I am familiar with the AIX environment using C but want to start using C++. Thank you, Perry Smith

gcc 4.0.2 compiled on AIX 5.3 (53A)

2006-01-08 Thread Perry Smith
Here is my script to compile. The ulimit is because I log in as a user and then su to root so I have the normal user limits which is too small. See: http://gcc.gnu.org/ml/gcc-help/2005-05/msg00105.html and its follow ups for more info. The CONFIG_SHELL is set because without it the

Re: libgcc.a, et. al.

2006-01-08 Thread Perry Smith
of this. Do you recall anything like that? Thanks Perry On Jan 8, 2006, at 11:13 AM, David Edelsohn wrote: Perry Smith writes: Perry I can not find a description of what the different versions of libgcc Perry and libstd++ are for. Some versions are obvious, others are not. Perry In particular