Port-amiga archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: mysql compile on Netbsd/m68k



On Thu, Dec 30, 2004 at 02:36:50PM +0200, Emm Vasilakis wrote:
> >   Changing -O levels should do the trick I would guess. Try compiling it
> >   manually, maybe without optimization.
> 
> Tried -O0, -O, nothing...
> 
> My curent compile line is: 
> 
> c++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/pkg\""
> -DDATADIR="\"/var/mysql\"" -DSHAREDIR="\"/usr/pkg/share/mysql\""
> -DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I../include
> -I../regex -I.   -Dunix -I/usr/pkg/include -I/usr/include  -O0
> -DDBUG_OFF -DUSE_OLD_FUNCTIONS -DSIGNALS_DONT_BREAK_READ
> -I/usr/pkg/include -I/usr/include -DSIGNALS_DONT_BREAK_READ  
> -fno-implicit-templates -fno-exceptions -fno-rtti -Dunix -fno-inline -c
> sql_yacc.cc

  Its C++ ... Well, if it fails when not optimizing, then there is
  nothing you can do. Unfortunately there are cases then G++ requires
  much to much memory :-/ Maybe using another g++ version could help
  but probably it won't.

> Anything else I could change on the above?

  Nope.

> >   BTW, isn't there a package for 1.6 which you could use?
> 
> Nope, either not, or I am too blind to see it ;-)

  In that case, the only solution I see is to cross-build the package
  if possible. However, I can't help you with that.

  Gunther

-- 
Linux is only free if your time has no value
 - Jamie Zawinski



Home | Main Index | Thread Index | Old Index