Opened 11 years ago

Closed 11 years ago

#41126 closed request (duplicate)

Request for a new variant

Reported by: MaurizioLoreti Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), MaurizioLoreti
Port: ImageMagick

Description

Well, the Apple compilers (default in OS X 10.9 Mavericks) clang/clang++ are not completely compatible with my source code; I am developing on OS X C++ programs, to be linked with IM libraries, that could be compiled on other platforms using gcc/g++. But the C++ name mangling scheme for clang++ are different, and since IM C++ shared and static libraries are compiled with clang++ I am forced to use that compiler.

Since the port for ImageMagick is first downloaded as source code, and then configured, built and installed - could it be possible to add a new variant, maybe +gcc, so that the compiler used by the port is gcc/g++ and not clang/clang++ ? Since IM is primarily developed on a Linux environment, the package should be ready for compilation with gcc/g++ without any change to the source code.

If that request is too difficult to implement, please let me know.

Change History (2)

comment:1 Changed 11 years ago by MaurizioLoreti

Cc: Maurizio.Loreti@… added

Cc Me!

comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

Duplicate of #41125.

Note: See TracTickets for help on using tickets.