Re: [cmake-developers] How to deal with assembler files

2011-03-10 Thread Alexander Neundorf
On Wednesday 09 March 2011, Brad King wrote: On 03/09/2011 02:27 PM, Alexander Neundorf wrote: On Tuesday 08 March 2011, Brad King wrote: $ icl -S main.c $ icl main.asm (errors) I was able to fix the errors for (3) by replacing . with _ in a few labels. Then the build

Re: [cmake-developers] How to deal with assembler files

2011-03-09 Thread Alexander Neundorf
On Tuesday 08 March 2011, Brad King wrote: On 03/07/2011 03:44 PM, Alexander Neundorf wrote: Testing the Intel compiler under Windows... I just tried this but have no time to work further on it now. The compiler does use -S to generate assembly, but there are at least 3 problems: (1) The

Re: [cmake-developers] How to deal with assembler files

2011-03-09 Thread Brad King
On 03/09/2011 02:27 PM, Alexander Neundorf wrote: On Tuesday 08 March 2011, Brad King wrote: $ icl -S main.c $ icl main.asm (errors) I was able to fix the errors for (3) by replacing . with _ in a few labels. Then the build produces HelloAsm.exe which runs as expected. Do you

Re: [cmake-developers] How to deal with assembler files

2011-03-08 Thread Brad King
On 03/07/2011 03:44 PM, Alexander Neundorf wrote: Testing the Intel compiler under Windows... I just tried this but have no time to work further on it now. The compiler does use -S to generate assembly, but there are at least 3 problems: (1) The command line needs -Fo instead of -o to specify

Re: [cmake-developers] How to deal with assembler files

2011-03-07 Thread Alexander Neundorf
On Friday 04 March 2011, Brad King wrote: On 03/03/2011 05:04 PM, Alexander Neundorf wrote: On Thursday 03 March 2011, Brad King wrote: Hi Alex, The Sun compiler still fails: http://www.cdash.org/CDash/testDetails.php?test=85204365build=888421 It's because the execute_process in the

Re: [cmake-developers] How to deal with assembler files

2011-03-04 Thread Brad King
On 03/03/2011 05:04 PM, Alexander Neundorf wrote: On Thursday 03 March 2011, Brad King wrote: Hi Alex, The Sun compiler still fails: http://www.cdash.org/CDash/testDetails.php?test=85204365build=888421 It's because the execute_process in the CMakeLists.txt file of the test does not use the

Re: [cmake-developers] How to deal with assembler files

2011-03-03 Thread Brad King
Hi Alex, The Sun compiler still fails: http://www.cdash.org/CDash/testDetails.php?test=85204365build=888421 It's because the execute_process in the CMakeLists.txt file of the test does not use the C compiler flags. Therefore 32-bit assembly code is generated and then it tries to compile it with

Re: [cmake-developers] How to deal with assembler files

2011-03-03 Thread Alexander Neundorf
On Thursday 03 March 2011, Brad King wrote: Hi Alex, The Sun compiler still fails: http://www.cdash.org/CDash/testDetails.php?test=85204365build=888421 It's because the execute_process in the CMakeLists.txt file of the test does not use the C compiler flags. Therefore 32-bit assembly code

Re: [cmake-developers] How to deal with assembler files

2011-03-02 Thread Brad King
On 03/02/2011 10:50 AM, Alexander Neundorf wrote: Leaves mostly the HP compiler: http://www.cdash.org/CDash/testDetails.php?test=85923158build=886969 I'm still looking at this one. and the IBM compiler: http://www.cdash.org/CDash/testDetails.php?test=85918066build=886882 The RPATH flags are

Re: [cmake-developers] How to deal with assembler files

2011-03-02 Thread Brad King
On 03/02/2011 01:54 PM, Brad King wrote: On 03/02/2011 10:50 AM, Alexander Neundorf wrote: Leaves mostly the HP compiler: http://www.cdash.org/CDash/testDetails.php?test=85923158build=886969 I'm still looking at this one. and the IBM compiler:

Re: [cmake-developers] How to deal with assembler files

2011-03-01 Thread Brad King
On 03/01/2011 03:44 PM, Alexander Neundorf wrote: The SunPro tests both failed: http://www.cdash.org/CDash/testDetails.php?test=85204365build=884706 http://www.cdash.org/CDash/testDetails.php?test=85247010build=884931 The assembler file was generated in both cases, but could not be linked.

Re: [cmake-developers] How to deal with assembler files

2011-03-01 Thread Alexander Neundorf
On Tuesday 01 March 2011, Brad King wrote: On 03/01/2011 03:44 PM, Alexander Neundorf wrote: The SunPro tests both failed: http://www.cdash.org/CDash/testDetails.php?test=85204365build=884706 http://www.cdash.org/CDash/testDetails.php?test=85247010build=884931 The assembler file was

Re: [cmake-developers] How to deal with assembler files

2011-03-01 Thread Bill Hoffman
On 3/1/2011 4:47 PM, Brad King wrote: On 03/01/2011 04:40 PM, Alexander Neundorf wrote: Do you think when enabling the C compiler as ASM compiler it should also check for $ENV{CFLAGS} ? Or should I added $ENV{ASMFLAGS} ? Often the C compiler is the C++ compiler too but we still have a

Re: [cmake-developers] How to deal with assembler files

2011-02-24 Thread Alexander Neundorf
On Wednesday 23 February 2011, Brad King wrote: On 02/23/2011 03:36 PM, Alexander Neundorf wrote: This is now on stage in the ReworkedAsmSupport branch. I'd like to merge this into next, if there are no objections. It implements what we discussed here, i.e. if there is already a C/CXX

Re: [cmake-developers] How to deal with assembler files

2011-02-23 Thread Alexander Neundorf
On Wednesday 18 August 2010, Brad King wrote: On 08/18/2010 01:03 PM, Alexander Neundorf wrote: If the files are written that way (and built without cmake before), the developers want to have them processed with the actual compiler, because that's what they are always doing. IMO that's