what exactly is a "patch," anyway?

Michael N. Moran mike@mnmoran.org
Mon Sep 12 03:09:00 GMT 2005

Dan Kegel wrote:
> Michael N. Moran wrote:
>> Its only a bug for the latest versions of GCC.
> Can you give me a one-line example of the problem
> compiling a "hello, world" program?

I don't need no stinkin' "hello, world" program to
demo this:

# touch a.c
# arm-linux-gcc -malignment-traps -mapcs-32 -c a.c
# armv5b-softfloat-linux-gcc -malignment-traps -mapcs-32 -c a.c
cc1: error: invalid option 'alignment-traps'
cc1: error: invalid option 'apcs-32'

The (abreviated) versions

# arm-linux-gcc --version
arm-linux-gcc (GCC) 3.2.1

# armv5b-softfloat-linux-gcc --version
armv5b-softfloat-linux-gcc (GCC) 4.0.1

The options chosen to compile the empty "a.c" file
are those chosen by the "linux-2.6.x/arch/arm/Makefile" .

Michael N. Moran           (h) 770 516 7918
5009 Old Field Ct.         (c) 678 521 5460
Kennesaw, GA, USA 30144    http://mnmoran.org

"So often times it happens, that we live our lives in chains
  and we never even know we have the key."
The Eagles, "Already Gone"

The Beatles were wrong: 1 & 1 & 1 is 1

Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com

More information about the crossgcc mailing list