Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - Use of Apple specific compiler option
Use of Apple specific compiler option
 
   NeoOffice Forum Index -> NeoOffice Development
View previous topic :: View next topic  
Author Message
rinkevichjmhotmail.com
Guest





PostPosted: Fri Apr 14, 2006 12:14 am    Post subject: Use of Apple specific compiler option

In attempting to build the HEAD of NeoOffice with GCC 4.1 (FSF/non-Apple line). I got the following error (I realize it wouldn't have occurred with the Apple GCC 4.0) below. The question isn't why I got the error but why is any thing using "pascal-strings"? They were originally for using with Mac OS before OS X and I'm certain that its not portable to GNUStep and probably not supported by Intel's compiler for the Mactels.
--------------------------------------------------------------------------
Making all in GSM610
if /bin/sh ../../libtool --mode=compile /opt/local/bin/gcc-4.1 -DHAVE_CONFIG_H -I. -I. -I../../src -malign-natural -O2 -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wcast-align -Wcast-qual -Wnested-externs -Wbad-function-cast -Wwrite-strings -pipe -fpascal-strings -I/Developer/Headers/FlatCarbon -MT add.lo -MD -MP -MF ".deps/add.Tpo" \
-c -o add.lo `test -f 'add.c' || echo './'`add.c; \
then mv -f ".deps/add.Tpo" ".deps/add.Plo"; \
else rm -f ".deps/add.Tpo"; exit 1; \
fi
/opt/local/bin/gcc-4.1 -DHAVE_CONFIG_H -I. -I. -I../../src -malign-natural -O2 -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wcast-align -Wcast-qual -Wnested-externs -Wbad-function-cast -Wwrite-strings -pipe -fpascal-strings -I/Developer/Headers/FlatCarbon -MT add.lo -MD -MP -MF .deps/add.Tpo -c add.c -fno-common -DPIC -o .libs/add.o
cc1: error: unrecognized command line option "-fpascal-strings"
make[4]: *** [add.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Fri Apr 14, 2006 6:24 am    Post subject:

Well, if you actually looked at the code that is being compiled, you would realize that:

1. You are compiling the OpenOffice.org code

2. The specific files that you are compiling are a third-party piece of code called libsndfile that is written by Sun Microsystems.

So, feel free to patch it and send your patch to OpenOffice.org.

Patrick
Back to top
jjmckenzie51
The Anomaly


Joined: Apr 01, 2005
Posts: 1055
Location: Southeastern Arizona

PostPosted: Fri Apr 14, 2006 7:51 am    Post subject:

pluby wrote:
Well, if you actually looked at the code that is being compiled, you would realize that:

1. You are compiling the OpenOffice.org code


True.

pluby wrote:

2. The specific files that you are compiling are a third-party piece of code called libsndfile that is written by Sun Microsystems.

So, feel free to patch it and send your patch to OpenOffice.org.


Actually, a good look through the IZ is in order first as there may be an Issue open for this with a patch. If not, a new issue should be opened and the patch added there.

I agree, is this a NeoOffice issue.

James

Patrick[/quote]
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Development All times are GMT - 7 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.